Skip to content

Commit 8c73c61

Browse files
committed
remove unnecessary type cast
1 parent 7867b7f commit 8c73c61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

FileSystem.Adapters.Sftp/src/SftpAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public SftpAdapter(string prefix, string rootPath, ISftpClient client, Action<Sf
3232

3333
public override void Dispose()
3434
{
35-
((IBaseClient) client).Dispose();
35+
client.Dispose();
3636
}
3737

3838
public override async Task ConnectAsync(CancellationToken cancellationToken = default)

0 commit comments

Comments
 (0)