Skip to content

remove obsolete code #84

remove obsolete code

remove obsolete code #84

Triggered via push May 23, 2024 01:54
Status Success
Total duration 5m 16s
Artifacts

Build.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: FileSystem/src/Adapters/Adapter.cs#L19
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
build: FileSystem/src/Adapters/Adapter.cs#L19
Reduce the number of generic parameters in the 'Adapter' class to no more than the 2 authorized. (https://rules.sonarsource.com/csharp/RSPEC-2436)
build: FileSystem/src/Utilities/LoggerUtilities.cs#L5
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
build: FileSystem/src/FileSystem.cs#L19
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
build: FileSystem/src/Utilities/PathUtilities.cs#L139
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
build: FileSystem/src/Exceptions/NoAdaptersRegisteredException.cs#L9
Remove this method and declare a constant for this value. (https://rules.sonarsource.com/csharp/RSPEC-3400)
build: FileSystem/src/Exceptions/ConnectionException.cs#L11
Remove this method and declare a constant for this value. (https://rules.sonarsource.com/csharp/RSPEC-3400)
build: FileSystem/src/Extensions/StringExtensions.cs#L24
"EndsWith" overloads that take a "char" should be used (https://rules.sonarsource.com/csharp/RSPEC-6610)
build: FileSystem/src/Extensions/StringExtensions.cs#L34
"StartsWith" overloads that take a "char" should be used (https://rules.sonarsource.com/csharp/RSPEC-6610)
build: FileSystem/src/FileSystem.cs#L727
Await DisposeAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)