From 541b8b37987b6d868e466eb7e00d9f170c625c27 Mon Sep 17 00:00:00 2001 From: Jared DiCioccio Date: Mon, 12 May 2014 12:38:28 -0400 Subject: [PATCH] Update Presence.java No code changes. Proofread API docs for Presence.java Fixed grammar / unclear sentences in some javadocs. Changed some nouns to be more consistent with API terminology. Fixed some typos. --- .../main/java/org/jivesoftware/smack/packet/Presence.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/Presence.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/Presence.java index e264d0c8b..73d28cf26 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/Presence.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/Presence.java @@ -46,8 +46,8 @@ import org.jivesoftware.smack.util.XmlStringBuilder; * {@link Mode#dnd dnd} (do not disturb). *

* - * Presence packets are used for two purposes. First, to notify the server of our - * the clients current presence status. Second, they are used to subscribe and + * Presence packets are used for two purposes. First, to notify the server of + * the user's current presence status. Second, they are used to subscribe and * unsubscribe users from the roster. * * @see RosterPacket @@ -264,8 +264,8 @@ public class Presence extends Packet { } /** - * A enum to represent the presecence type. Not that presence type is often confused - * with presence mode. Generally, if a user is signed into a server, they have a presence + * An enum to represent the presence type. Note that presence type is often confused + * with presence mode. Generally, if a user is signed in to a server, they have a presence * type of {@link #available available}, even if the mode is {@link Mode#away away}, * {@link Mode#dnd dnd}, etc. The presence type is only {@link #unavailable unavailable} when * the user is signing out of the server.