From 9be938abd5cb0d85643b660f5306b22698e92222 Mon Sep 17 00:00:00 2001 From: Arufonsu <17498701+Arufonsu@users.noreply.github.com> Date: Sat, 6 Jul 2024 19:55:17 -0400 Subject: [PATCH] chore: removes unnecessary and implicit usings from intersect network --- Intersect.Network/Lidgren/LidgrenBuffer.cs | 3 +-- Intersect.Network/Lidgren/LidgrenConnection.cs | 4 +--- Intersect.Network/Lidgren/LidgrenInterface.cs | 6 +----- Intersect.Network/LiteNetLib/AesAlgorithm.cs | 1 - Intersect.Network/LiteNetLib/LiteNetLibConnection.cs | 1 - 5 files changed, 3 insertions(+), 12 deletions(-) diff --git a/Intersect.Network/Lidgren/LidgrenBuffer.cs b/Intersect.Network/Lidgren/LidgrenBuffer.cs index 2c0d833a00..f3bf4dc09c 100644 --- a/Intersect.Network/Lidgren/LidgrenBuffer.cs +++ b/Intersect.Network/Lidgren/LidgrenBuffer.cs @@ -1,5 +1,4 @@ -using System; -using System.Text; +using System.Text; using Intersect.Memory; diff --git a/Intersect.Network/Lidgren/LidgrenConnection.cs b/Intersect.Network/Lidgren/LidgrenConnection.cs index fb6688dfa3..356cb7b8f4 100644 --- a/Intersect.Network/Lidgren/LidgrenConnection.cs +++ b/Intersect.Network/Lidgren/LidgrenConnection.cs @@ -1,6 +1,4 @@ -using System; -using System.Linq; -using System.Security.Cryptography; +using System.Security.Cryptography; using Intersect.Logging; using Intersect.Network.Packets; diff --git a/Intersect.Network/Lidgren/LidgrenInterface.cs b/Intersect.Network/Lidgren/LidgrenInterface.cs index 0196224566..9e2d038d4c 100644 --- a/Intersect.Network/Lidgren/LidgrenInterface.cs +++ b/Intersect.Network/Lidgren/LidgrenInterface.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; +using System.Diagnostics; using System.Net; using System.Security.Cryptography; -using System.Threading; using Intersect.Logging; using Intersect.Memory; diff --git a/Intersect.Network/LiteNetLib/AesAlgorithm.cs b/Intersect.Network/LiteNetLib/AesAlgorithm.cs index 59e2753fcf..73d0d82c31 100644 --- a/Intersect.Network/LiteNetLib/AesAlgorithm.cs +++ b/Intersect.Network/LiteNetLib/AesAlgorithm.cs @@ -1,7 +1,6 @@ using System.Buffers; using System.Buffers.Binary; using System.Security.Cryptography; -using System.Text; using Intersect.Logging; namespace Intersect.Network.LiteNetLib; diff --git a/Intersect.Network/LiteNetLib/LiteNetLibConnection.cs b/Intersect.Network/LiteNetLib/LiteNetLibConnection.cs index 9cbd8b1b82..bb97aba2c8 100644 --- a/Intersect.Network/LiteNetLib/LiteNetLibConnection.cs +++ b/Intersect.Network/LiteNetLib/LiteNetLibConnection.cs @@ -1,7 +1,6 @@ using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Security.Cryptography; -using System.Text; using Intersect.Logging; using Intersect.Memory; using Intersect.Network.Packets;