From 7329435c8e1bfec7083c47b4da3d759bc2ff8aeb Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Mon, 12 Feb 2007 01:14:30 +0000 Subject: [PATCH] Javadoc cleanup. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7073 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/packet/Presence.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/org/jivesoftware/smack/packet/Presence.java b/source/org/jivesoftware/smack/packet/Presence.java index d7448601c..a730146f8 100644 --- a/source/org/jivesoftware/smack/packet/Presence.java +++ b/source/org/jivesoftware/smack/packet/Presence.java @@ -150,7 +150,9 @@ public class Presence extends Packet { } /** - * Returns the mode of the presence update. + * Returns the mode of the presence update, or null if the mode is not set. + * A null presence mode value is interpreted to be the same thing as + * {@link Presence.Mode#available}. * * @return the mode. */ @@ -159,8 +161,8 @@ public class Presence extends Packet { } /** - * Sets the mode of the presence update. For the standard "available" state, set - * the mode to null. + * Sets the mode of the presence update. A null presence mode value is interpreted + * to be the same thing as {@link Presence.Mode#available}. * * @param mode the mode. */