aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rfb/CConnection.java
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2012-12-14 22:40:02 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2012-12-14 22:40:02 +0000
commitd93a26d665b18b0e779c524f54c7acdc18898b94 (patch)
tree54908596b5aff623723ce964e220549d7254dbd6 /java/com/tigervnc/rfb/CConnection.java
parent32c46228f5e6d2e0c4bf1701bd36aeb0b89f4f32 (diff)
downloadtigervnc-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/rfb/CConnection.java')
-rw-r--r--java/com/tigervnc/rfb/CConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/com/tigervnc/rfb/CConnection.java b/java/com/tigervnc/rfb/CConnection.java
index 959f8138..a9230285 100644
--- a/java/com/tigervnc/rfb/CConnection.java
+++ b/java/com/tigervnc/rfb/CConnection.java
@@ -122,7 +122,7 @@ abstract public class CConnection extends CMsgHandler {
throwConnFailedException();
} else if (secType == Security.secTypeNone || secType == Security.secTypeVncAuth) {
- Iterator i;
+ Iterator<Integer> i;
for (i = secTypes.iterator(); i.hasNext(); ) {
int refType = (Integer)i.next();
if (refType == secType) {
@@ -146,7 +146,7 @@ abstract public class CConnection extends CMsgHandler {
if (nServerSecTypes == 0)
throwConnFailedException();
- Iterator j;
+ Iterator<Integer> j;
for (int i = 0; i < nServerSecTypes; i++) {
int serverSecType = is.readU8();