From 2b072257c5124a8deee2e78da71554f7c68b8635 Mon Sep 17 00:00:00 2001 From: Brian Hinz Date: Tue, 17 May 2011 21:30:11 +0000 Subject: fixed bug in java viewer when disabling security types git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4428 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- java/src/com/tigervnc/rfb/Security.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/src') diff --git a/java/src/com/tigervnc/rfb/Security.java b/java/src/com/tigervnc/rfb/Security.java index 5e572e3f..95a66c3d 100644 --- a/java/src/com/tigervnc/rfb/Security.java +++ b/java/src/com/tigervnc/rfb/Security.java @@ -118,7 +118,7 @@ public class Security { return false; } - public static void DisableSecType(int secType) { enabledSecTypes.remove(secType); } + public static void DisableSecType(int secType) { enabledSecTypes.remove((Object)secType); } public static int secTypeNum(String name) { if (name.equalsIgnoreCase("None")) return secTypeNone; -- cgit v1.2.3