From 7e76712c4697b22fa95ba69fb20efd1362e7324c Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 10 Feb 2019 21:51:01 +0100 Subject: [PATCH] Make SASLAuthentication.authenticationFailed(Exception) private --- .../main/java/org/jivesoftware/smack/SASLAuthentication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/SASLAuthentication.java b/smack-core/src/main/java/org/jivesoftware/smack/SASLAuthentication.java index 9c59c01ea..73a2e4b37 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/SASLAuthentication.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/SASLAuthentication.java @@ -302,7 +302,7 @@ public final class SASLAuthentication { authenticationFailed(new SASLErrorException(currentMechanism.getName(), saslFailure)); } - public void authenticationFailed(Exception exception) { + private void authenticationFailed(Exception exception) { saslException = exception; // Wake up the thread that is waiting in the #authenticate method synchronized (this) {