Replaced built-in valuetypes with language keywords.

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

View file

@ -54,7 +54,7 @@ namespace NzbDrone.Core.Organizer
protected override bool IsValid(PropertyValidatorContext context)
{
var value = context.PropertyValue as String;
var value = context.PropertyValue as string;
if (!FileNameBuilder.SeasonEpisodePatternRegex.IsMatch(value) &&
!FileNameValidation.OriginalTokenRegex.IsMatch(value))
@ -76,7 +76,7 @@ namespace NzbDrone.Core.Organizer
protected override bool IsValid(PropertyValidatorContext context)
{
var value = context.PropertyValue as String;
var value = context.PropertyValue as string;
if (!FileNameBuilder.SeasonEpisodePatternRegex.IsMatch(value) &&
!FileNameBuilder.AirDateRegex.IsMatch(value) &&
@ -99,7 +99,7 @@ namespace NzbDrone.Core.Organizer
protected override bool IsValid(PropertyValidatorContext context)
{
var value = context.PropertyValue as String;
var value = context.PropertyValue as string;
if (!FileNameBuilder.SeasonEpisodePatternRegex.IsMatch(value) &&
!FileNameBuilder.AbsoluteEpisodePatternRegex.IsMatch(value) &&