1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 03:52:06 +01:00

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.
This commit is contained in:
Jared DiCioccio 2014-05-12 12:38:28 -04:00 committed by Florian Schmaus
parent 98333e362d
commit 541b8b3798

View file

@ -46,8 +46,8 @@ import org.jivesoftware.smack.util.XmlStringBuilder;
* {@link Mode#dnd dnd} (do not disturb). * {@link Mode#dnd dnd} (do not disturb).
* </ul><p> * </ul><p>
* *
* Presence packets are used for two purposes. First, to notify the server of our * Presence packets are used for two purposes. First, to notify the server of
* the clients current presence status. Second, they are used to subscribe and * the user's current presence status. Second, they are used to subscribe and
* unsubscribe users from the roster. * unsubscribe users from the roster.
* *
* @see RosterPacket * @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 * An enum to represent the presence type. Note that presence type is often confused
* with presence mode. Generally, if a user is signed into a server, they have a presence * 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}, * 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 * {@link Mode#dnd dnd}, etc. The presence type is only {@link #unavailable unavailable} when
* the user is signing out of the server. * the user is signing out of the server.