Hashtable now in array, not vector
authoramwaterhouse <Andrew Waterhouse>
Mon, 15 Aug 2005 12:09:17 +0000 (12:09 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 15 Aug 2005 12:09:17 +0000 (12:09 +0000)
src/jalview/schemes/Blosum62ColourScheme.java

index 1aea477..356e3fe 100755 (executable)
@@ -18,7 +18,6 @@
  */\r
 package jalview.schemes;\r
 \r
-import java.util.*;\r
 \r
 import java.awt.*;\r
 \r
@@ -37,11 +36,10 @@ public class Blosum62ColourScheme
       return Color.white;\r
     }\r
 \r
-    Hashtable hash = (Hashtable) consensus.elementAt(j);\r
 \r
     if (!jalview.util.Comparison.isGap( (s.charAt(0))))\r
     {\r
-      String max = (String) hash.get("maxResidue");\r
+      String max = (String) consensus[j].get("maxResidue");\r
 \r
       if (max.indexOf(s) > -1)\r
       {\r