From: kiramt Date: Fri, 17 Nov 2017 10:36:30 +0000 (+0000) Subject: JAL-2759 tidy X-Git-Tag: Release_2_10_4~55^2~1^2~68 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d046cfbc60c6338b54c5f26702cc538ff55d2464;p=jalview.git JAL-2759 tidy --- diff --git a/src/jalview/datamodel/HiddenColumns.java b/src/jalview/datamodel/HiddenColumns.java index 6200a43..4c3560e 100644 --- a/src/jalview/datamodel/HiddenColumns.java +++ b/src/jalview/datamodel/HiddenColumns.java @@ -321,10 +321,6 @@ public class HiddenColumns } } } - if (hiddenColumn > 0 && hiddenColumn < 121) - { - System.out.println(hiddenColumn + " " + result); - } return result; // return the shifted position after removing hidden // columns. diff --git a/test/jalview/datamodel/HiddenColumnsTest.java b/test/jalview/datamodel/HiddenColumnsTest.java index fbeaa71..57d716d 100644 --- a/test/jalview/datamodel/HiddenColumnsTest.java +++ b/test/jalview/datamodel/HiddenColumnsTest.java @@ -26,7 +26,6 @@ import static org.testng.AssertJUnit.assertFalse; import static org.testng.AssertJUnit.assertTrue; import jalview.analysis.AlignmentGenerator; -import jalview.gui.JvOptionPane; import jalview.util.Comparison; import java.util.Arrays; @@ -34,19 +33,10 @@ import java.util.BitSet; import java.util.Iterator; import java.util.Random; -import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class HiddenColumnsTest { - - @BeforeClass(alwaysRun = true) - public void setUpJvOptionPane() - { - JvOptionPane.setInteractiveMode(false); - JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION); - } - /** * Test the method which counts the number of hidden columns */