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
@@ -44,7 +44,7 @@ namespace NzbDrone.Core.MediaFiles
_logger.Info("Attempting to send '{0}' to recycling bin", path);
var recyclingBin = _configService.RecycleBin;
if (String.IsNullOrWhiteSpace(recyclingBin))
if (string.IsNullOrWhiteSpace(recyclingBin))
{
_logger.Info("Recycling Bin has not been configured, deleting permanently. {0}", path);
_diskProvider.DeleteFolder(path, true);
@@ -78,7 +78,7 @@ namespace NzbDrone.Core.MediaFiles
_logger.Debug("Attempting to send '{0}' to recycling bin", path);
var recyclingBin = _configService.RecycleBin;
if (String.IsNullOrWhiteSpace(recyclingBin))
if (string.IsNullOrWhiteSpace(recyclingBin))
{
_logger.Info("Recycling Bin has not been configured, deleting permanently. {0}", path);
@@ -117,7 +117,7 @@ namespace NzbDrone.Core.MediaFiles
}
catch (IOException e)
{
var message = String.Format("Unable to move '{0}' to the recycling bin: '{1}'", path, destination);
var message = string.Format("Unable to move '{0}' to the recycling bin: '{1}'", path, destination);
_logger.ErrorException(message, e);
throw;
}
@@ -134,7 +134,7 @@ namespace NzbDrone.Core.MediaFiles
public void Empty()
{
if (String.IsNullOrWhiteSpace(_configService.RecycleBin))
if (string.IsNullOrWhiteSpace(_configService.RecycleBin))
{
_logger.Info("Recycle Bin has not been configured, cannot empty.");
return;
@@ -157,7 +157,7 @@ namespace NzbDrone.Core.MediaFiles
public void Cleanup()
{
if (String.IsNullOrWhiteSpace(_configService.RecycleBin))
if (string.IsNullOrWhiteSpace(_configService.RecycleBin))
{
_logger.Info("Recycle Bin has not been configured, cannot cleanup.");
return;