diff src/ch/ethz/ssh2/Connection.java @ 305:d2b303406d63 ganymed

remove extra override annotations that generate eclipse compiler errors
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 12:09:51 -0700
parents beaccc9df37b
children 071eccdff8ea
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/Connection.java	Tue Jul 29 20:28:01 2014 -0700
+++ b/src/ch/ethz/ssh2/Connection.java	Wed Jul 30 12:09:51 2014 -0700
@@ -12,9 +12,8 @@
 import java.net.InetSocketAddress;
 import java.net.Socket;
 import java.net.SocketTimeoutException;
+import java.security.KeyPair;
 import java.security.SecureRandom;
-import java.security.KeyPair;
-import java.security.PrivateKey;
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Set;
@@ -196,7 +195,8 @@
      * methods, this method is just a wrapper for it and will
      * disappear in future builds.
      */
-    public synchronized boolean authenticateWithDSA(String user, String pem, String password) throws IOException {
+    @Deprecated
+	public synchronized boolean authenticateWithDSA(String user, String pem, String password) throws IOException {
         if(tm == null) {
             throw new IllegalStateException("Connection is not established!");
         }
@@ -804,8 +804,7 @@
 
             if(kexTimeout > 0) {
                 final Runnable timeoutHandler = new Runnable() {
-					@Override
-                    public void run() {
+					public void run() {
                         synchronized(state) {
                             if(state.isCancelled) {
                                 return;