JAL-4281 - JAL-4397 - tidy up unused variable. could tidy these further !
authorJim Procter <jprocter@dundee.ac.uk>
Wed, 5 Jun 2024 14:20:38 +0000 (15:20 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Wed, 5 Jun 2024 14:20:38 +0000 (15:20 +0100)
test/jalview/project/Jalview2xmlTests.java

index 8b2fa74..2f52fae 100644 (file)
@@ -1477,8 +1477,6 @@ public class Jalview2xmlTests extends Jalview2xmlBase
     assertEquals(ov1.getCanvas().getResidueColour(), Color.white);
     assertEquals(ov1.getCanvas().getHiddenColour(), Color.yellow);
     assertEquals(ov1.getTitle(), "Overview examples/uniref50.fa Original");
-
-    double scaling = jalview.gui.JvSwingUtilsTest.getScaling(ov1);
     // int width = scaling == 1.0 ? 225 : 200;
     // int width = scaling == 1.0 ? 225 : 200;
     Rectangle ov1Rectangle = ov1.getFrameBounds();
@@ -1771,7 +1769,6 @@ public class Jalview2xmlTests extends Jalview2xmlBase
     // FIXME JAL-4281 test made platform dependent to pass, but probably
     // shouldn't be platform dependent
     int idWidth = af.alignPanel.getAlignViewport().getIdWidth();
-    double scaling = jalview.gui.JvSwingUtilsTest.getScaling(af.alignPanel);
     // int expectedWidth = Platform.isMac() ? 144 : Platform.isLinux() ? scaling
     // == 1.0 ? 131 : 128 : 138;
     int minExpectedWidth = 128;