From d35ab22ade5dac7608e463474400dae03d6dfcb2 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 19 Aug 2016 11:55:02 +0100 Subject: [PATCH] JAL-2154 drop unused hashes --- test/jalview/io/CrossRef2xmlTests.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/jalview/io/CrossRef2xmlTests.java b/test/jalview/io/CrossRef2xmlTests.java index d1821f1..b330b2d 100644 --- a/test/jalview/io/CrossRef2xmlTests.java +++ b/test/jalview/io/CrossRef2xmlTests.java @@ -37,7 +37,6 @@ import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; -import java.util.IdentityHashMap; import java.util.List; import org.testng.Assert; @@ -128,16 +127,6 @@ public class CrossRef2xmlTests extends Jalview2xmlBase : new CrossRef(seqs, dataset) .findXrefSourcesForSequences(dna); - /* - * map between a view, and views generated after retrieving xrefs - */ - IdentityHashMap> viewxrefview = new IdentityHashMap>(); - /* - * map between a particular view and it's originating dbref path - */ - IdentityHashMap viewsourcedb = new IdentityHashMap(); - - viewsourcedb.put(af.alignPanel, first); for (String db : ptypes) { pass2 = 0; @@ -157,7 +146,6 @@ public class CrossRef2xmlTests extends Jalview2xmlBase Assert.assertTrue(cra.getXrefViews().size() > 0, "No crossrefs retrieved for " + db); cra_views = cra.getXrefViews(); - viewxrefview.put(af.alignPanel, cra.getXrefViews()); } else { @@ -197,7 +185,6 @@ public class CrossRef2xmlTests extends Jalview2xmlBase SequenceI[] xrseqs = avp.getAlignment().getSequencesArray(); - viewsourcedb.put(avp, nextxref); stringify(dbtoviewBit, savedProjects, nextxref, avp); keyseq.add(nextxref); @@ -272,7 +259,6 @@ public class CrossRef2xmlTests extends Jalview2xmlBase + "," + pass2 + "): For " + nextnextxref + ":"); - viewsourcedb.put(nextavp, nextnextxref); stringify(dbtoviewBit, savedProjects, nextnextxref, nextavp); keyseq.add(nextnextxref); -- 1.7.10.2