one less cast
authoramwaterhouse <Andrew Waterhouse>
Thu, 14 Dec 2006 11:21:25 +0000 (11:21 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 14 Dec 2006 11:21:25 +0000 (11:21 +0000)
src/jalview/analysis/Conservation.java

index 6098465..99c6e89 100755 (executable)
@@ -187,12 +187,12 @@ public class Conservation
 
             //loop over all the found residues
             resultHash = new Hashtable();
-            for (int v = '-'; v < 'Z'; v++)
+            for (char v = '-'; v < 'Z'; v++)
             {
 
                 if (values[v] > thresh)
                 {
-                  res =  String.valueOf( (char) v);
+                  res =  String.valueOf( v );
 
                     //Now loop over the properties
                     enumeration2 = propHash.keys();