git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b82a110
)
JAL-1582 removing finalize() as may have unexpected behaviour
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 18 Nov 2014 15:01:30 +0000
(15:01 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Tue, 18 Nov 2014 15:01:30 +0000
(15:01 +0000)
src/jalview/ws/jws2/MsaWSClient.java
patch
|
blob
|
history
diff --git
a/src/jalview/ws/jws2/MsaWSClient.java
b/src/jalview/ws/jws2/MsaWSClient.java
index
fd01777
..
09a6d8d
100644
(file)
--- 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)
{
.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
final int QUICK_TOOLTIP = 1500;
// JAL-1582 shorten tooltip display time in these menu items as
// they can obscure other options