JAL-2795 rebuilt MatrixConverter to be purely static
[jalview.git] / src / jalview / ext / forester / ForesterMatrix.java
index c58b2a9..4ce3d12 100644 (file)
@@ -22,7 +22,7 @@ public class ForesterMatrix implements DistanceMatrix
 
   private Sequence[] sequences;
 
-  private String[] identifiers;
+  private final String[] identifiers;
 
   public ForesterMatrix(final MatrixI jalviewInputMatrix,
           final Sequence[] matrixSequences)
@@ -31,10 +31,6 @@ public class ForesterMatrix implements DistanceMatrix
     this.sequences = matrixSequences;
     this.identifiers = new String[sequences.length];
 
-    if (jalviewMatrix.width() != jalviewMatrix.height())
-    {
-      // some kind of warning?
-    }
     int i = 0;
 
     for (Sequence sequence : sequences)
@@ -51,14 +47,6 @@ public class ForesterMatrix implements DistanceMatrix
     this.jalviewMatrix = jalviewInputMatrix;
     this.identifiers = matrixIdentifiers;
 
-
-    if (jalviewMatrix.width() != jalviewMatrix.height())
-    {
-      // some kind of warning?
-    }
-
-
-
   }
 
   @Override