From 88ec5ec9e697a1a5ee9e2c3ede3e248e1a6d918e Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Mon, 26 Aug 2024 16:12:00 +0100 Subject: [PATCH] JAL-4442 Removed debugging variables and a stray 'wait' boolean which is not used --- src/jalview/gui/QuitHandler.java | 7 ------- 1 file changed, 7 deletions(-) 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( -- 1.7.10.2