From 9cee9c3255a397e190ec7f12f86bab7a2f6bc45a Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 4 Jun 2017 16:12:13 +0100 Subject: [PATCH] JAL-2228 java 1.7 compliance --- src/jalview/workers/ColumnCounterSetWorker.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } /* -- 1.7.10.2