diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2012-12-14 22:40:02 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2012-12-14 22:40:02 +0000 |
commit | d93a26d665b18b0e779c524f54c7acdc18898b94 (patch) | |
tree | 54908596b5aff623723ce964e220549d7254dbd6 /java/com/tigervnc/vncviewer/MenuKey.java | |
parent | 32c46228f5e6d2e0c4bf1701bd36aeb0b89f4f32 (diff) | |
download | tigervnc-d93a26d665b18b0e779c524f54c7acdc18898b94.tar.gz tigervnc-d93a26d665b18b0e779c524f54c7acdc18898b94.zip |
Cleanup linter warnings wherever possible and suppress all linter warnings from Jsch code
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5020 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/com/tigervnc/vncviewer/MenuKey.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/MenuKey.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/tigervnc/vncviewer/MenuKey.java b/java/com/tigervnc/vncviewer/MenuKey.java index 0a240149..49677087 100644 --- a/java/com/tigervnc/vncviewer/MenuKey.java +++ b/java/com/tigervnc/vncviewer/MenuKey.java @@ -78,10 +78,10 @@ public class MenuKey } static int getMenuKeyCode() { - String menuKeyStr; int menuKeyCode = KeyEvent.VK_F8; - menuKeyStr = + @SuppressWarnings({"static"}) + String menuKeyStr = Configuration.global().getParam("menuKey").getValueStr(); for(int i = 0; i < getMenuKeySymbolCount(); i++) if (menuSymbols[i].name.equals(menuKeyStr)) |