From 21c7007212af463fb0ccdc238406985fa815c726 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 15 May 2015 17:04:10 +0200 Subject: [PATCH] Make Roster.waitUntilLoaded() package-private there is no point in having it 'protected', since Roster is not subclassable. --- .../src/main/java/org/jivesoftware/smack/roster/Roster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java b/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java index c2a4fb9ee..1f848dea5 100644 --- a/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java +++ b/smack-im/src/main/java/org/jivesoftware/smack/roster/Roster.java @@ -333,7 +333,7 @@ public final class Roster extends Manager { return true; } - protected boolean waitUntilLoaded() throws InterruptedException { + boolean waitUntilLoaded() throws InterruptedException { final XMPPConnection connection = connection(); while (!loaded) { long waitTime = connection.getPacketReplyTimeout();