Skip to content

Commit

Permalink
Remove unused usings
Browse files Browse the repository at this point in the history
  • Loading branch information
DDuarte committed Jul 19, 2015
1 parent b2255e8 commit f9ee2c2
Show file tree
Hide file tree
Showing 32 changed files with 23 additions and 57 deletions.
5 changes: 3 additions & 2 deletions WowPacketParser.Tests/OpcodeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
using NUnit.Framework;
using WowPacketParser.Enums;
using WowPacketParser.Enums.Version;
using WowPacketParser.Enums.Version.V6_0_3_19103;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;

Expand Down Expand Up @@ -100,8 +101,8 @@ public void TestHasValue()
[Test]
public void TestHasHandler6x()
{
var clientOpcodes = Enums.Version.V6_0_3_19103.Opcodes_6_0_3.Opcodes(Direction.ClientToServer).Select(pair => pair.Key);
var serverOpcodes = Enums.Version.V6_0_3_19103.Opcodes_6_0_3.Opcodes(Direction.ServerToClient).Select(pair => pair.Key);
var clientOpcodes = Opcodes_6_0_3.Opcodes(Direction.ClientToServer).Select(pair => pair.Key);
var serverOpcodes = Opcodes_6_0_3.Opcodes(Direction.ServerToClient).Select(pair => pair.Key);

var assembly = Assembly.LoadFrom(AppDomain.CurrentDomain.BaseDirectory + "/" + "WowPacketParserModule.V6_0_2_19033.dll");
Dictionary<KeyValuePair<ClientVersionBuild, Opcode>, Action<Packet>> handlerDictionary = Handler.LoadHandlers(assembly, ClientVersionBuild.V6_0_3_19342);
Expand Down
4 changes: 1 addition & 3 deletions WowPacketParser/Enums/LocaleConstant.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;

namespace WowPacketParser.Enums
namespace WowPacketParser.Enums
{
public enum LocaleConstant
{
Expand Down
1 change: 0 additions & 1 deletion WowPacketParser/Enums/Version/V6_1_0_19678/Opcodes.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using WowPacketParser.Misc;

namespace WowPacketParser.Enums.Version.V6_1_0_19678
Expand Down
2 changes: 0 additions & 2 deletions WowPacketParser/Loading/BinaryPacketReader.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using WowPacketParser.Enums;
Expand Down
2 changes: 1 addition & 1 deletion WowPacketParser/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ private static void Main(string[] args)
sf.ProcessFile();
}

if (!String.IsNullOrWhiteSpace(Settings.SQLFileName) && Settings.DumpFormatWithSQL())
if (!string.IsNullOrWhiteSpace(Settings.SQLFileName) && Settings.DumpFormatWithSQL())
Builder.DumpSQL("Dumping global sql", Settings.SQLFileName, SniffFile.GetHeader("multi"));

SQLConnector.Disconnect();
Expand Down
1 change: 0 additions & 1 deletion WowPacketParser/SQL/Builders/Locales.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Store;
using WowPacketParser.Store.Objects;

namespace WowPacketParser.SQL.Builders
{
Expand Down
2 changes: 1 addition & 1 deletion WowPacketParser/SQL/Builders/Miscellaneous.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;
using System.Linq;
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Store;
Expand Down
2 changes: 0 additions & 2 deletions WowPacketParser/SQL/QueryBuilder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using WowPacketParser.Misc;
Expand Down
1 change: 0 additions & 1 deletion WowPacketParser/SQL/SQLUtil.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/AreaPOI.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/AreaPOIState.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/HotfixData.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Misc;
using WowPacketParser.SQL;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
{
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/ItemCurrencyCost.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/ItemEffect.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/ItemModifiedAppearance.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
4 changes: 1 addition & 3 deletions WowPacketParser/Store/Objects/LocalesQuest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellAuraRestrictions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellCastingRequirements.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellClassOptions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellEffectGroupSize.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellLearnSpell.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellPower.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellReagents.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellRuneCost.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/SpellTotems.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
3 changes: 1 addition & 2 deletions WowPacketParser/Store/Objects/Toy.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Misc;
using WowPacketParser.SQL;

namespace WowPacketParser.Store.Objects
Expand Down
1 change: 0 additions & 1 deletion WowPacketParserModule.V5_4_0_17359/Parsers/QueryHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;
Expand Down
1 change: 0 additions & 1 deletion WowPacketParserModule.V5_4_1_17538/Parsers/QueryHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;
Expand Down
1 change: 0 additions & 1 deletion WowPacketParserModule.V5_4_7_17898/Parsers/QueryHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;
Expand Down
1 change: 0 additions & 1 deletion WowPacketParserModule.V5_4_8_18291/Parsers/QueryHandler.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;
Expand Down
2 changes: 0 additions & 2 deletions WowPacketParserModule.V6_0_2_19033/Parsers/HotfixHandler.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Diagnostics;
using System.Linq;
using WowPacketParser.Enums;
using WowPacketParser.Loading;
using WowPacketParser.Misc;
Expand Down
2 changes: 0 additions & 2 deletions WowPacketParserModule.V6_0_2_19033/Parsers/TokenHandler.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using WowPacketParser.Enums;
using WowPacketParser.Misc;
using WowPacketParser.Parsing;
using WowPacketParser.Store;
using WowPacketParser.Store.Objects;

namespace WowPacketParserModule.V6_0_2_19033.Parsers
{
Expand Down

0 comments on commit f9ee2c2

Please sign in to comment.