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. * Add a roster listener and invoke the roster entries with all entries of the roster.
* <p> * <p>
* The method guarantees that the listener is only invoked after * 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 * that happen while <code>rosterEntires(Collection) </code> is called are queued until the
* method returns. * method returns.
* </p> * </p>
@ -720,7 +720,7 @@ public final class Roster extends Manager {
Objects.requireNonNull(rosterEntries, "rosterEntries must not be null"); Objects.requireNonNull(rosterEntries, "rosterEntries must not be null");
synchronized (rosterListenersAndEntriesLock) { synchronized (rosterListenersAndEntriesLock) {
rosterEntries.rosterEntires(entries.values()); rosterEntries.rosterEntries(entries.values());
addRosterListener(rosterListener); 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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 interface RosterEntries {
public void rosterEntires(Collection<RosterEntry> rosterEntries); public void rosterEntries(Collection<RosterEntry> rosterEntries);
} }