X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemes%2FResidueProperties.java;fp=src%2Fjalview%2Fschemes%2FResidueProperties.java;h=df6610a0d5a0be2a1ffd7fceab45fa95f97fdb55;hb=208f2c3de82e3327c4f930ab7d04f5b812ccd277;hp=5bbe46d59b9af9507aea2b456574f076c813daca;hpb=5721b73c6d5de84b21a989a8734e4c161f5dc630;p=jalview.git diff --git a/src/jalview/schemes/ResidueProperties.java b/src/jalview/schemes/ResidueProperties.java index 5bbe46d..df6610a 100755 --- a/src/jalview/schemes/ResidueProperties.java +++ b/src/jalview/schemes/ResidueProperties.java @@ -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 STOP_CODONS = Arrays.asList("TGA", "TAA", "TAG"); + public static final List 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> propHash = new Hashtable<>(); + public static final Map> propHash = new Hashtable<>(); - public static Map hydrophobic = new Hashtable<>(); + public static final Map hydrophobic = new Hashtable<>(); - public static Map polar = new Hashtable<>(); + public static final Map polar = new Hashtable<>(); - public static Map small = new Hashtable<>(); + public static final Map small = new Hashtable<>(); - public static Map positive = new Hashtable<>(); + public static final Map positive = new Hashtable<>(); - public static Map negative = new Hashtable<>(); + public static final Map negative = new Hashtable<>(); - public static Map charged = new Hashtable<>(); + public static final Map charged = new Hashtable<>(); - public static Map aromatic = new Hashtable<>(); + public static final Map aromatic = new Hashtable<>(); - public static Map aliphatic = new Hashtable<>(); + public static final Map aliphatic = new Hashtable<>(); - public static Map tiny = new Hashtable<>(); + public static final Map tiny = new Hashtable<>(); - public static Map proline = new Hashtable<>(); + public static final Map 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