From 8997a7d8f3405e32e5293486105ec66e5bef7062 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sun, 10 Jan 2016 19:00:26 +0100 Subject: [PATCH] Fix typo in RosterEntries s/rosterEntires/rosterEntries/ Fixes SMACK-666 (the issue of the devil). --- .../src/main/java/org/jivesoftware/smack/roster/Roster.java | 4 ++-- .../java/org/jivesoftware/smack/roster/RosterEntries.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); }