From 4a5732d679dc13ccfbe169d7861292bc11406564 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 19 Jan 2015 14:04:05 +0100 Subject: [PATCH] Fix Packet's javadoc ID_NOT_AVAILABLE was removed in 8b16c49a31a3c8b650b9a21c823f546b139c6e80 --- .../main/java/org/jivesoftware/smack/packet/Packet.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java index 6194d8695..ae26d6524 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/Packet.java @@ -102,10 +102,9 @@ public abstract class Packet implements TopLevelStreamElement { } /** - * Returns the unique ID of the packet. The returned value could be null when - * ID_NOT_AVAILABLE was set as the packet's id. + * Returns the unique ID of the packet. The returned value could be null. * - * @return the packet's unique ID or null if the packet's id is not available. + * @return the packet's unique ID or null if the packet's id is not available. */ public String getPacketID() { return packetID; @@ -113,7 +112,7 @@ public abstract class Packet implements TopLevelStreamElement { /** * Sets the unique ID of the packet. To indicate that a packet has no id - * pass the constant ID_NOT_AVAILABLE as the packet's id value. + * pass null as the packet's id value. * * @param packetID the unique ID for the packet. */