JAL-3253 preliminary static fixes for JavaScript part 3 of 3
[jalview.git] / src / jalview / schemes / ResidueProperties.java
index 5bbe46d..df6610a 100755 (executable)
@@ -498,34 +498,35 @@ public class ResidueProperties
    * Color.white, // R Color.white, // Y Color.white, // N Color.white, // Gap
    */
 
-  public static String STOP = "STOP";
+  public static final String STOP = "STOP";
 
-  public static List<String> STOP_CODONS = Arrays.asList("TGA", "TAA", "TAG");
+  public static final List<String> STOP_CODONS = Arrays.asList("TGA", "TAA",
+          "TAG");
 
-  public static String START = "ATG";
+  public static final String START = "ATG";
 
   // Stores residue codes/names and colours and other things
-  public static Map<String, Map<String, Integer>> propHash = new Hashtable<>();
+  public static final Map<String, Map<String, Integer>> propHash = new Hashtable<>();
 
-  public static Map<String, Integer> hydrophobic = new Hashtable<>();
+  public static final Map<String, Integer> hydrophobic = new Hashtable<>();
 
-  public static Map<String, Integer> polar = new Hashtable<>();
+  public static final Map<String, Integer> polar = new Hashtable<>();
 
-  public static Map<String, Integer> small = new Hashtable<>();
+  public static final Map<String, Integer> small = new Hashtable<>();
 
-  public static Map<String, Integer> positive = new Hashtable<>();
+  public static final Map<String, Integer> positive = new Hashtable<>();
 
-  public static Map<String, Integer> negative = new Hashtable<>();
+  public static final Map<String, Integer> negative = new Hashtable<>();
 
-  public static Map<String, Integer> charged = new Hashtable<>();
+  public static final Map<String, Integer> charged = new Hashtable<>();
 
-  public static Map<String, Integer> aromatic = new Hashtable<>();
+  public static final Map<String, Integer> aromatic = new Hashtable<>();
 
-  public static Map<String, Integer> aliphatic = new Hashtable<>();
+  public static final Map<String, Integer> aliphatic = new Hashtable<>();
 
-  public static Map<String, Integer> tiny = new Hashtable<>();
+  public static final Map<String, Integer> tiny = new Hashtable<>();
 
-  public static Map<String, Integer> proline = new Hashtable<>();
+  public static final Map<String, Integer> proline = new Hashtable<>();
 
   static
   {
@@ -908,7 +909,7 @@ public class ResidueProperties
    * lookup of (A-Z) alternative secondary structure symbols'
    * equivalents in DSSP3 notation
    */
-  private static char[] toDssp3State;
+  private final static char[] toDssp3State;
   static
   {
     toDssp3State = new char[9]; // for 'A'-'I'; extend if needed