Skip to content

Commit bf4570b

Browse files
authored
CodeMaid (#2432)
1 parent 9e5c509 commit bf4570b

31 files changed

+151
-170
lines changed

Common/DeviceEvent.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Text;
4-
5-
namespace Files.Common
1+
namespace Files.Common
62
{
73
public enum DeviceEvent
84
{
@@ -11,4 +7,4 @@ public enum DeviceEvent
117
Inserted,
128
Ejected
139
}
14-
}
10+
}

Files.Launcher/DeviceWatcher.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
using Files.Common;
22
using System;
3-
using System.Collections.Generic;
4-
using System.Linq;
53
using System.Management;
6-
using System.Text;
74
using System.Threading.Tasks;
85
using Windows.ApplicationModel.AppService;
96
using Windows.Foundation.Collections;
@@ -91,4 +88,4 @@ public void Dispose()
9188
modifyWatcher = null;
9289
}
9390
}
94-
}
91+
}

Files/Enums/CloudProviders.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ public enum CloudProviders
1010
AppleCloud,
1111
Box
1212
}
13-
}
13+
}

Files/Filesystem/Cloud/CloudProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ public class CloudProvider
88

99
public string SyncFolder { get; set; }
1010
}
11-
}
11+
}

Files/Filesystem/Cloud/CloudProviderController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ public async Task DetectInstalledCloudProvidersAsync()
4141
}
4242
}
4343
}
44-
}
44+
}

Files/Filesystem/Cloud/ICloudProviderDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ public interface ICloudProviderDetector
77
{
88
Task DetectAsync(List<CloudProvider> cloudProviders);
99
}
10-
}
10+
}

Files/Filesystem/Cloud/Providers/AppleCloudProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ public async Task DetectAsync(List<CloudProvider> cloudProviders)
2929
}
3030
}
3131
}
32-
}
32+
}

Files/Filesystem/Cloud/Providers/BoxCloudProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ public async Task DetectAsync(List<CloudProvider> cloudProviders)
3333
}
3434
}
3535
}
36-
}
36+
}

Files/Filesystem/Cloud/Providers/DropBoxCloudProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ public async Task DetectAsync(List<CloudProvider> cloudProviders)
3232
}
3333
}
3434
}
35-
}
35+
}

Files/Filesystem/Cloud/Providers/GoogleDriveCloudProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public async Task DetectAsync(List<CloudProvider> cloudProviders)
1313
{
1414
try
1515
{
16-
// Google Drive's sync database can be in a couple different locations. Go find it.
16+
// Google Drive's sync database can be in a couple different locations. Go find it.
1717
string appDataPath = UserDataPaths.GetDefault().LocalAppData;
1818
string dbPath = @"Google\Drive\user_default\sync_config.db";
1919
var configFile = await StorageFile.GetFileFromPathAsync(Path.Combine(appDataPath, dbPath));
@@ -71,4 +71,4 @@ public async Task DetectAsync(List<CloudProvider> cloudProviders)
7171
}
7272
}
7373
}
74-
}
74+
}

0 commit comments

Comments
 (0)