JAL-32423 tidying
[jalview.git] / test / jalview / gui / SeqPanelTest.java
index c148039..fd611fc 100644 (file)
@@ -724,9 +724,6 @@ public class SeqPanelTest
     final int charWidth = alignFrame.getViewport().getCharWidth();
     assertTrue(charWidth > 0); // sanity check
     assertEquals(alignFrame.getViewport().getRanges().getStartRes(), 0);
-
-    System.out.println("SPT endres "
-            + alignFrame.getViewport().getRanges().getEndRes());
     /*
      * mouse at top left of unwrapped panel
      */
@@ -767,16 +764,6 @@ public class SeqPanelTest
     SeqCanvas seqCanvas = alignFrame.alignPanel.getSeqPanel().seqCanvas;
     int w = seqCanvas.getWidth();
     // limited to number of whole columns, base 0
-    // BH there are only 61 residues, but this calculation gives 65
-    // from SeqPanel return for findColumn:
-
-    // /*
-    // * make sure we calculate relative to visible alignment,
-    // * rather than right-hand gutter
-    // */
-    // x = Math.min(x, seqCanvas.getX() + seqCanvas.getWidth());
-    // res = (x / charWidth) + startRes;
-    // res = Math.min(res, av.getRanges().getEndRes());
 
     int expected = w / charWidth;
     expected = Math.min(