JAL-2759 tidy
authorkiramt <k.mourao@dundee.ac.uk>
Fri, 17 Nov 2017 10:36:30 +0000 (10:36 +0000)
committerkiramt <k.mourao@dundee.ac.uk>
Fri, 17 Nov 2017 10:36:30 +0000 (10:36 +0000)
src/jalview/datamodel/HiddenColumns.java
test/jalview/datamodel/HiddenColumnsTest.java

index 6200a43..4c3560e 100644 (file)
@@ -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.
index fbeaa71..57d716d 100644 (file)
@@ -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
    */