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 2226505d0..66f5ed4a0 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
@@ -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.
*
* 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 rosterEntires(Collection)
is called are queued until the
* method returns.
*
@@ -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);
}
}
diff --git a/smack-im/src/main/java/org/jivesoftware/smack/roster/RosterEntries.java b/smack-im/src/main/java/org/jivesoftware/smack/roster/RosterEntries.java
index b15659c02..18f114df7 100644
--- a/smack-im/src/main/java/org/jivesoftware/smack/roster/RosterEntries.java
+++ b/smack-im/src/main/java/org/jivesoftware/smack/roster/RosterEntries.java
@@ -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 rosterEntries);
+ public void rosterEntries(Collection rosterEntries);
}