1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-13 07:04:49 +02:00

Make Roster.waitUntilLoaded() package-private

there is no point in having it 'protected', since Roster is not
subclassable.
This commit is contained in:
Florian Schmaus 2015-05-15 17:04:10 +02:00
parent 8dd12e7220
commit 21c7007212

View file

@ -333,7 +333,7 @@ public final class Roster extends Manager {
return true; return true;
} }
protected boolean waitUntilLoaded() throws InterruptedException { boolean waitUntilLoaded() throws InterruptedException {
final XMPPConnection connection = connection(); final XMPPConnection connection = connection();
while (!loaded) { while (!loaded) {
long waitTime = connection.getPacketReplyTimeout(); long waitTime = connection.getPacketReplyTimeout();