JAL-3253 preliminary static fixes for JavaScript
[jalview.git] / src / jalview / schemes / ResidueProperties.java
index 5f84ca0..5bbe46d 100755 (executable)
@@ -896,8 +896,7 @@ public class ResidueProperties
 
   public static String codonTranslate(String lccodon)
   {
-    String peptide = GeneticCodes.getInstance().getStandardCodeTable()
-            .translate(lccodon);
+    String peptide = GeneticCodes.getStandardCodeTable().translate(lccodon);
     if ("*".equals(peptide))
     {
       return "STOP";