Skip to content

Commit

Permalink
[FIXED JENKINS-19104] Restoring deprecated constructor to avoid NoSuc…
Browse files Browse the repository at this point in the history
…hMethodError when not all plugins were upgraded in synch.
  • Loading branch information
jglick committed Aug 8, 2013
1 parent 0fccbed commit ab2a632
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -167,6 +167,12 @@ protected boolean doAuthenticate() {
};
}

/** @deprecated Use {@link #newInstance(Object, StandardUsernameCredentials)} instead. */
@Deprecated
public static SSHAuthenticator<Object,StandardUsernameCredentials> newInstance(Object connection, SSHUser user) throws InterruptedException, IOException {
return newInstance(connection, (StandardUsernameCredentials) user);
}

/**
* Returns {@code true} if and only if the supplied connection class and user class are supported by at least one
* factory.
Expand Down

0 comments on commit ab2a632

Please sign in to comment.