JAL-1421 use declared type of ResidueProperties.propHash
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 22 Sep 2016 15:00:48 +0000 (16:00 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 22 Sep 2016 15:00:48 +0000 (16:00 +0100)
src/jalview/analysis/Conservation.java

index 19a6514..711710b 100755 (executable)
@@ -251,8 +251,7 @@ public class Conservation
           // Now loop over the properties
           for (String type : ResidueProperties.propHash.keySet())
           {
-            Hashtable<String, Integer> ht = (Hashtable<String, Integer>) ResidueProperties.propHash
-                    .get(type);
+            Map<String, Integer> ht = ResidueProperties.propHash.get(type);
 
             // Have we ticked this before?
             if (!resultHash.containsKey(type))