From: tcofoegbu Date: Fri, 26 Feb 2016 10:55:02 +0000 (+0000) Subject: JAL-1994 updated implementation for broken tests X-Git-Tag: Release_2_10_0~306 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=0f5255080bd41820b3dcd934c499f68007fc5544;p=jalview.git JAL-1994 updated implementation for broken tests --- diff --git a/src/jalview/viewmodel/AlignmentViewport.java b/src/jalview/viewmodel/AlignmentViewport.java index 3c69961..eb686a4 100644 --- a/src/jalview/viewmodel/AlignmentViewport.java +++ b/src/jalview/viewmodel/AlignmentViewport.java @@ -1557,9 +1557,7 @@ public abstract class AlignmentViewport implements AlignViewportI, } else { - HiddenSequences hiddenSeqs = alignment.getHiddenSequences(); - if (hiddenSeqs != null && hiddenSeqs.hiddenSequences != null - && hiddenSeqs.hiddenSequences.length > 0) + if (hasHiddenRows()) { iSize = alignment.getHiddenSequences().getFullAlignment() .getHeight();