Testing updater, no major changes.

This commit is contained in:
thunderspynetwork
2019-04-29 12:30:35 +01:00
parent b041f097c6
commit 202bc80e92
4 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@@ -109,3 +109,5 @@ Generated_Code #added for RIA/Silverlight projects
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
*.ide-wal
*.ide-shm

View File

@@ -22,7 +22,7 @@ namespace CreamSoda
public static class Helpers
{
public static string GetValueOrDefault(this XAttribute attribute, string defaultValue = null)
public static string GetValueOrDefault(this XAttribute attribute, string defaultValue = "")
{
if (attribute == null)
return defaultValue;
@@ -30,7 +30,7 @@ namespace CreamSoda
return attribute.Value;
}
public static string GetAttributeValueOrDefault(this XElement element, string attributeName, string defaultValue = null)
public static string GetAttributeValueOrDefault(this XElement element, string attributeName, string defaultValue = "")
{
if (element == null)
return defaultValue;