diff options
Diffstat (limited to 'java/com/tigervnc/vncviewer/tunnel.java')
-rw-r--r-- | java/com/tigervnc/vncviewer/tunnel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/tunnel.java b/java/com/tigervnc/vncviewer/tunnel.java index 23da0a99..a66d83ae 100644 --- a/java/com/tigervnc/vncviewer/tunnel.java +++ b/java/com/tigervnc/vncviewer/tunnel.java @@ -287,7 +287,7 @@ public class tunnel ArrayList<File> privateKeys = new ArrayList<File>(); privateKeys.add(new File(homeDir+"/.ssh/id_rsa")); privateKeys.add(new File(homeDir+"/.ssh/id_dsa")); - for (Iterator i = privateKeys.iterator(); i.hasNext();) { + for (Iterator<File> i = privateKeys.iterator(); i.hasNext();) { File privateKey = (File)i.next(); if (privateKey.exists() && privateKey.canRead()) jsch.addIdentity(privateKey.getAbsolutePath()); |