diff options
author | Kenneth Hsu <kennethhsu@gmail.com> | 2018-05-27 23:17:30 +0300 |
---|---|---|
committer | Kenneth Hsu <kennethhsu@gmail.com> | 2018-06-05 06:15:34 +0300 |
commit | 08a897d7b07aca6b6495939fa0a407dd81229944 (patch) | |
tree | ec2ab4e22559ca5a9198189c07316f3ac4c960cf /Duplicati/Library/Backend/Rclone | |
parent | e6535e2cfa45dce449d8c00b760f5a9455807b37 (diff) |
Remove redundant calls to ToString.
Diffstat (limited to 'Duplicati/Library/Backend/Rclone')
-rw-r--r-- | Duplicati/Library/Backend/Rclone/Rclone.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Duplicati/Library/Backend/Rclone/Rclone.cs b/Duplicati/Library/Backend/Rclone/Rclone.cs index b16b48a0f..a11f7bbc7 100644 --- a/Duplicati/Library/Backend/Rclone/Rclone.cs +++ b/Duplicati/Library/Backend/Rclone/Rclone.cs @@ -172,13 +172,13 @@ namespace Duplicati.Library.Backend if (errorBuilder.ToString().Contains(RCLONE_ERROR_CONFIG_NOT_FOUND))
{
- throw new Exception(String.Format("Missing config file? {0}", errorBuilder.ToString()));
+ throw new Exception(String.Format("Missing config file? {0}", errorBuilder));
}
if (errorBuilder.Length > 0) {
throw new Exception(errorBuilder.ToString());
}
- Console.Error.WriteLine(errorBuilder.ToString());
+ Console.Error.WriteLine(errorBuilder);
return outputBuilder.ToString();
}
@@ -208,7 +208,7 @@ namespace Duplicati.Library.Backend foreach (JObject item in array)
{
#if DEBUG
- Console.Error.WriteLine(item.ToString());
+ Console.Error.WriteLine(item);
#endif
FileEntry fe = new FileEntry(
item.GetValue("Name").Value<string>(),
|