Skip to content

Commit f6c8916

Browse files
committed
Remove unused usings from pipeline middleware
Cleaned up CompressMiddleware, HashMiddleware, and PatchMiddleware by removing unnecessary using directives to improve code clarity and maintainability.
1 parent 051718f commit f6c8916

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

src/c#/GeneralUpdate.ClientCore/Pipeline/CompressMiddleware.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
using System;
2-
using System.Diagnostics;
3-
using System.IO;
4-
using System.Text;
1+
using System.Text;
52
using System.Threading.Tasks;
63
using GeneralUpdate.Common.Compress;
7-
using GeneralUpdate.Common.Internal;
8-
using GeneralUpdate.Common.Internal.Event;
94
using GeneralUpdate.Common.Internal.Pipeline;
105

116
namespace GeneralUpdate.ClientCore.Pipeline;

src/c#/GeneralUpdate.ClientCore/Pipeline/HashMiddleware.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
using System;
2-
using System.Diagnostics;
32
using System.Security.Cryptography;
43
using System.Threading.Tasks;
54
using GeneralUpdate.Common.HashAlgorithms;
6-
using GeneralUpdate.Common.Internal;
7-
using GeneralUpdate.Common.Internal.Event;
85
using GeneralUpdate.Common.Internal.Pipeline;
96

107
namespace GeneralUpdate.ClientCore.Pipeline;

src/c#/GeneralUpdate.ClientCore/Pipeline/PatchMiddleware.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Diagnostics;
4-
using System.Threading.Tasks;
5-
using GeneralUpdate.Common.FileBasic;
6-
using GeneralUpdate.Common.Internal;
7-
using GeneralUpdate.Common.Internal.Event;
1+
using System.Threading.Tasks;
82
using GeneralUpdate.Common.Internal.Pipeline;
93
using GeneralUpdate.Differential;
104

0 commit comments

Comments
 (0)