From: Ben Soares Date: Mon, 26 Aug 2024 15:12:00 +0000 (+0100) Subject: JAL-4442 Removed debugging variables and a stray 'wait' boolean which is not used X-Git-Tag: Release_2_11_4_0~4^2~8^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=88ec5ec9e697a1a5ee9e2c3ede3e248e1a6d918e;p=jalview.git JAL-4442 Removed debugging variables and a stray 'wait' boolean which is not used --- diff --git a/src/jalview/gui/QuitHandler.java b/src/jalview/gui/QuitHandler.java index 7605fa8..8bb8ac8 100644 --- a/src/jalview/gui/QuitHandler.java +++ b/src/jalview/gui/QuitHandler.java @@ -263,7 +263,6 @@ public class QuitHandler Console.trace("Quit response is '" + got.toString() + "' after external structure viewer check"); - boolean wait = false; if (got == QResponse.CANCEL_QUIT) { // reset @@ -280,15 +279,12 @@ public class QuitHandler && BackupFiles.hasSavesInProgress()) { waitQuit(interactive, okQuit, forceQuit, cancelQuit); - QResponse waitResponse = gotQuitResponse(); - wait = waitResponse == QResponse.QUIT; } Console.debug("Quit response is '" + got.toString() + "' after waiting for save"); } Runnable next = null; - String nextName = null; got = gotQuitResponse(); Console.debug("Quit response is '" + got.toString() + "' before setting next"); @@ -296,15 +292,12 @@ public class QuitHandler { case QUIT: next = okQuit; - nextName = "okQuit"; break; case FORCE_QUIT: // not actually an option at this stage next = forceQuit; - nextName = "forceQuit"; break; default: next = cancelQuit; - nextName = "cancelQuit"; break; } Console.debug(