From 13af86a3fe668cc1ca5e80e6ca18c820c01402c4 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 5 Jun 2024 15:20:38 +0100 Subject: [PATCH] JAL-4281 - JAL-4397 - tidy up unused variable. could tidy these further ! --- test/jalview/project/Jalview2xmlTests.java | 3 --- 1 file changed, 3 deletions(-) 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; -- 1.7.10.2