diff --git a/core/src/main/java/org/jivesoftware/smack/Roster.java b/core/src/main/java/org/jivesoftware/smack/Roster.java index a107ee6e9..5ca822532 100644 --- a/core/src/main/java/org/jivesoftware/smack/Roster.java +++ b/core/src/main/java/org/jivesoftware/smack/Roster.java @@ -296,7 +296,7 @@ public class Roster { /** * Removes a roster entry from the roster. The roster entry will also be removed from the * unfiled entries or from any roster group where it could belong and will no longer be part - * of the roster. Note that this is an asynchronous call -- Smack must wait for the server + * of the roster. Note that this is a synchronous call -- Smack must wait for the server * to send an updated subscription status. * * @param entry a roster entry. diff --git a/core/src/main/java/org/jivesoftware/smack/RosterGroup.java b/core/src/main/java/org/jivesoftware/smack/RosterGroup.java index 916369b29..8459eebd8 100644 --- a/core/src/main/java/org/jivesoftware/smack/RosterGroup.java +++ b/core/src/main/java/org/jivesoftware/smack/RosterGroup.java @@ -154,7 +154,7 @@ public class RosterGroup { /** * Adds a roster entry to this group. If the entry was unfiled then it will be removed from * the unfiled list and will be added to this group. - * Note that this is an asynchronous call -- Smack must wait for the server + * Note that this is a synchronous call -- Smack must wait for the server * to receive the updated roster. * * @param entry a roster entry. @@ -183,11 +183,11 @@ public class RosterGroup { * Removes a roster entry from this group. If the entry does not belong to any other group * then it will be considered as unfiled, therefore it will be added to the list of unfiled * entries. - * Note that this is an asynchronous call -- Smack must wait for the server + * Note that this is a synchronous call -- Smack must wait for the server * to receive the updated roster. * * @param entry a roster entry. - * @throws XMPPException if an error occured while trying to remove the entry from the group. + * @throws XMPPException if an error occurred while trying to remove the entry from the group. */ public void removeEntry(RosterEntry entry) throws XMPPException { PacketCollector collector = null;