JAL-3383 minor code tidying and commenting
[jalview.git] / src / jalview / datamodel / Alignment.java
index 22d23bc..26379d3 100755 (executable)
@@ -42,13 +42,13 @@ import java.util.Vector;
 
 /**
  * Data structure to hold and manipulate a multiple sequence alignment
- */
-/**
- * @author JimP
  * 
+ * @author JimP
  */
 public class Alignment implements AlignmentI
 {
+  private static final SequenceGroup[] NO_GROUPS = new SequenceGroup[0];
+
   private Alignment dataset;
 
   private List<SequenceI> sequences;
@@ -61,8 +61,6 @@ public class Alignment implements AlignmentI
 
   private List<AlignedCodonFrame> codonFrameList;
 
-  private static final SequenceGroup[] noGroups = new SequenceGroup[0];
-
   /*
    * persistent object to hold result of findAllGroups(SequenceI)
    */
@@ -419,7 +417,7 @@ public class Alignment implements AlignmentI
       int gSize = groups.size();
       if (gSize == 0)
       {
-        return noGroups;
+        return NO_GROUPS;
       }
       groupsForSequence.clear();
       for (int i = 0; i < gSize; i++)