From: Ben Soares Date: Thu, 7 Mar 2019 15:29:38 +0000 (+0000) Subject: JAL-3130 deprecation change preparation X-Git-Tag: Release_2_11_0~17^2~7^2~58^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4f6d92b81a8bedf3d74c81e02e0dbf6600829a60;p=jalview.git JAL-3130 deprecation change preparation --- diff --git a/build-j11.xml b/build-j11.xml index 4bc58b4..35d3926 100755 --- a/build-j11.xml +++ b/build-j11.xml @@ -300,7 +300,9 @@ --> + + diff --git a/src/jalview/schemes/Consensus.java b/src/jalview/schemes/Consensus.java index f0d1990..9d2c738 100755 --- a/src/jalview/schemes/Consensus.java +++ b/src/jalview/schemes/Consensus.java @@ -53,8 +53,10 @@ public class Consensus /** * @deprecated Use {@link #isConserved(int[][],int,int,boolean)} instead */ + @Deprecated public boolean isConserved(int[][] cons2, int col, int size) { + System.out.println("DEPRECATED!!!!"); return isConserved(cons2, col, size, true); } @@ -71,7 +73,7 @@ public class Consensus tot += cons2[col][mask[i]]; } - if ((double) tot > ((threshold * size) / 100)) + if (tot > ((threshold * size) / 100)) { // System.out.println("True conserved "+tot+" from "+threshold+" out of // "+size+" : "+maskstr);