From: Jim Procter Date: Sun, 4 Jun 2017 15:12:13 +0000 (+0100) Subject: JAL-2228 java 1.7 compliance X-Git-Tag: Release_2_10_2~3^2~29 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=9cee9c3255a397e190ec7f12f86bab7a2f6bc45a;p=jalview.git JAL-2228 java 1.7 compliance --- diff --git a/src/jalview/workers/ColumnCounterSetWorker.java b/src/jalview/workers/ColumnCounterSetWorker.java index b6b64fc..2422748 100644 --- a/src/jalview/workers/ColumnCounterSetWorker.java +++ b/src/jalview/workers/ColumnCounterSetWorker.java @@ -191,10 +191,10 @@ class ColumnCounterSetWorker extends AlignCalcWorker int count = counts[i][anrow]; Color color = ColorUtils.getGraduatedColour(count, 0, minColour, - max[anrow], maxColour); - String str = String.valueOf(count); - anns[i] = new Annotation(str, str, '0', count, color); - rmax = Long.max(count, rmax); + max[anrow], maxColour); + String str = String.valueOf(count); + anns[i] = new Annotation(str, str, '0', count, color); + rmax = Math.max(count, rmax); } /*