Skip to content

Commit 38eeefb

Browse files
committed
Remove unused parameter.
1 parent be36867 commit 38eeefb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/ch/cyberduck/core/LoginConnectionService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,19 @@ public void connect(final Session<?> session, final CancelCallback cancel) throw
151151
}
152152
// Login
153153
try {
154-
this.authenticate(proxy, session, cancel);
154+
this.authenticate(session, cancel);
155155
}
156156
catch(BackgroundException e) {
157157
this.close(session);
158158
throw e;
159159
}
160160
}
161161

162-
private void authenticate(final ProxyFinder proxy, final Session session, final CancelCallback callback) throws BackgroundException {
162+
private void authenticate(final Session<?> session, final CancelCallback callback) throws BackgroundException {
163163
if(!login.authenticate(session, listener, prompt, callback)) {
164164
if(session.isConnected()) {
165165
// Next attempt with updated credentials but cancel when prompt is dismissed
166-
this.authenticate(proxy, session, callback);
166+
this.authenticate(session, callback);
167167
}
168168
else {
169169
// Reconnect and next attempt with updated credentials

0 commit comments

Comments
 (0)