1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-24 23:32:05 +01:00

Fix typo in RosterEntries

s/rosterEntires/rosterEntries/

Fixes SMACK-666 (the issue of the devil).
This commit is contained in:
Florian Schmaus 2016-01-10 19:00:26 +01:00
parent 57838f1ffe
commit 8997a7d8f3
2 changed files with 4 additions and 4 deletions

View file

@ -702,7 +702,7 @@ public final class Roster extends Manager {
* Add a roster listener and invoke the roster entries with all entries of the roster.
* <p>
* The method guarantees that the listener is only invoked after
* {@link RosterEntries#rosterEntires(Collection)} has been invoked, and that all roster events
* {@link RosterEntries#rosterEntries(Collection)} has been invoked, and that all roster events
* that happen while <code>rosterEntires(Collection) </code> is called are queued until the
* method returns.
* </p>
@ -720,7 +720,7 @@ public final class Roster extends Manager {
Objects.requireNonNull(rosterEntries, "rosterEntries must not be null");
synchronized (rosterListenersAndEntriesLock) {
rosterEntries.rosterEntires(entries.values());
rosterEntries.rosterEntries(entries.values());
addRosterListener(rosterListener);
}
}

View file

@ -1,6 +1,6 @@
/**
*
* Copyright 2015 Florian Schmaus
* Copyright 2015-2016 Florian Schmaus
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -20,6 +20,6 @@ import java.util.Collection;
public interface RosterEntries {
public void rosterEntires(Collection<RosterEntry> rosterEntries);
public void rosterEntries(Collection<RosterEntry> rosterEntries);
}