From 6a5133ef486df71c9559e7493e0db4b569d8ddf2 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Tue, 18 Nov 2014 15:01:30 +0000 Subject: [PATCH] JAL-1582 removing finalize() as may have unexpected behaviour --- src/jalview/ws/jws2/MsaWSClient.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/jalview/ws/jws2/MsaWSClient.java b/src/jalview/ws/jws2/MsaWSClient.java index fd01777..09a6d8d 100644 --- a/src/jalview/ws/jws2/MsaWSClient.java +++ b/src/jalview/ws/jws2/MsaWSClient.java @@ -289,17 +289,7 @@ public class MsaWSClient extends Jws2Client .getDismissDelay(); for (final WsParamSetI preset : presets) { - final JMenuItem methodR = new JMenuItem(preset.getName()) - { - @Override - protected void finalize() throws Throwable - { - // failsafe to ensure tooltip hover time is restored - ToolTipManager.sharedInstance().setDismissDelay( - showToolTipFor); - super.finalize(); - } - }; + final JMenuItem methodR = new JMenuItem(preset.getName()); final int QUICK_TOOLTIP = 1500; // JAL-1582 shorten tooltip display time in these menu items as // they can obscure other options -- 1.7.10.2