From 7f2a2ca0a3c543019f1c2a73b1d75b717169189f Mon Sep 17 00:00:00 2001 From: North Date: Sat, 5 Apr 2014 21:55:35 +0300 Subject: [PATCH] removed dependency to trove4j (only used in DeckBuilder) --- Mage.Common/pom.xml | 10 ---------- Mage.Common/src/mage/utils/DeckBuilder.java | 3 +-- Mage/pom.xml | 10 ---------- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/Mage.Common/pom.xml b/Mage.Common/pom.xml index 7bbda7c5f4..fd07582b28 100644 --- a/Mage.Common/pom.xml +++ b/Mage.Common/pom.xml @@ -50,16 +50,6 @@ trove 1.0.2 - - net.sf.trove4j - trove4j - 3.0.3 - - - org.xerial - sqlite-jdbc - 3.7.2 - diff --git a/Mage.Common/src/mage/utils/DeckBuilder.java b/Mage.Common/src/mage/utils/DeckBuilder.java index 96be5e7ae3..94fdde0fe3 100644 --- a/Mage.Common/src/mage/utils/DeckBuilder.java +++ b/Mage.Common/src/mage/utils/DeckBuilder.java @@ -1,6 +1,5 @@ package mage.utils; -import gnu.trove.set.hash.THashSet; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; @@ -265,7 +264,7 @@ public class DeckBuilder { final Map singleCount = new HashMap(); int maxSingleCount = 0; int multicolor = 0; - Set colors = new THashSet(); + Set colors = new HashSet(); for (String symbol : card.getManaCost().getSymbols()) { int count = 0; symbol = symbol.replace("{", "").replace("}", ""); diff --git a/Mage/pom.xml b/Mage/pom.xml index 78b5b8a5b6..9bb6ead7f0 100644 --- a/Mage/pom.xml +++ b/Mage/pom.xml @@ -27,21 +27,11 @@ sqlite-jdbc 3.7.2 - - com.j256.ormlite - ormlite-core - 4.42 - com.j256.ormlite ormlite-jdbc 4.42 - - net.sf.trove4j - trove4j - 3.0.3 -