JAL-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git] / src / jalview / datamodel / SecondaryStructureAnnotation.java
index e395648..476eb19 100644 (file)
@@ -25,9 +25,7 @@ import fr.orsay.lri.varna.models.rna.RNA;
 public class SecondaryStructureAnnotation extends AlignmentAnnotation
 {
 
-  // was static, but that cannot work here
-
-  private RNA _rna = null;
+  private static RNA _rna = null;
 
   public SecondaryStructureAnnotation(RNA rna)
   {
@@ -46,7 +44,7 @@ public class SecondaryStructureAnnotation extends AlignmentAnnotation
     Annotation[] ann = new Annotation[rna.getSize()];
     for (int i = 0; i < ann.length; i++)
     {
-      ann[i] = new Annotation(rna.getStructDBN(true), "", ' ', 0f);
+      ann[i] = new Annotation(_rna.getStructDBN(true), "", ' ', 0f);
       ;
     }
     return ann;