From: Jim Procter Date: Wed, 5 Jun 2024 14:20:38 +0000 (+0100) Subject: JAL-4281 - JAL-4397 - tidy up unused variable. could tidy these further ! X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=13af86a3fe668cc1ca5e80e6ca18c820c01402c4;p=jalview.git JAL-4281 - JAL-4397 - tidy up unused variable. could tidy these further ! --- diff --git a/test/jalview/project/Jalview2xmlTests.java b/test/jalview/project/Jalview2xmlTests.java index 8b2fa74..2f52fae 100644 --- a/test/jalview/project/Jalview2xmlTests.java +++ b/test/jalview/project/Jalview2xmlTests.java @@ -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;