From: kjvdheide Date: Mon, 30 Oct 2017 13:23:57 +0000 (+0000) Subject: JAL-2795 removed now unneeded values variable in ForesterMatrix X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e19182398c09ecfe8ed3759a4cd3b5f942b58a11;p=jalview.git JAL-2795 removed now unneeded values variable in ForesterMatrix --- diff --git a/src/jalview/ext/forester/ForesterMatrix.java b/src/jalview/ext/forester/ForesterMatrix.java index 9090d94..f8b68d0 100644 --- a/src/jalview/ext/forester/ForesterMatrix.java +++ b/src/jalview/ext/forester/ForesterMatrix.java @@ -21,7 +21,6 @@ public class ForesterMatrix implements DistanceMatrix private Sequence[] sequences; - private final double[][] values; private String[] identifiers; @@ -37,8 +36,6 @@ public class ForesterMatrix implements DistanceMatrix // some kind of warning? } - values = new double[jalviewMatrix.width()][jalviewMatrix.height()]; - } public ForesterMatrix(MatrixI jalviewInputMatrix, @@ -53,7 +50,6 @@ public class ForesterMatrix implements DistanceMatrix // some kind of warning? } - values = new double[jalviewMatrix.width()][jalviewMatrix.height()]; } @@ -106,8 +102,7 @@ public class ForesterMatrix implements DistanceMatrix @Override public double[][] getValues() { - - return null; + return jalviewMatrix.getValues(); } @Override