Replaced built-in valuetypes with language keywords.

This commit is contained in:
Taloth Saldono 2015-10-03 19:45:26 +02:00
parent d6a135857d
commit ccfa13e383
454 changed files with 2042 additions and 2042 deletions

View file

@ -38,9 +38,9 @@ namespace NzbDrone.Core.Configuration
string SslCertHash { get; }
string UrlBase { get; }
string UiFolder { get; }
Boolean UpdateAutomatically { get; }
bool UpdateAutomatically { get; }
UpdateMechanism UpdateMechanism { get; }
String UpdateScriptPath { get; }
string UpdateScriptPath { get; }
}
public class ConfigFileProvider : IConfigFileProvider
@ -99,7 +99,7 @@ namespace NzbDrone.Core.Configuration
if (configValue.Key.Equals("SslCertHash", StringComparison.InvariantCultureIgnoreCase) && configValue.Value.ToString().IsNotNullOrWhiteSpace())
{
SetValue(configValue.Key.FirstCharToUpper(), HiddenCharacterRegex.Replace(configValue.Value.ToString(), String.Empty));
SetValue(configValue.Key.FirstCharToUpper(), HiddenCharacterRegex.Replace(configValue.Value.ToString(), string.Empty));
continue;
}