diff --git a/source/org/jivesoftware/smackx/packet/Time.java b/source/org/jivesoftware/smackx/packet/Time.java index cdfe6bd25..5294e77c3 100644 --- a/source/org/jivesoftware/smackx/packet/Time.java +++ b/source/org/jivesoftware/smackx/packet/Time.java @@ -39,7 +39,7 @@ import java.util.TimeZone; * // Request the time from a remote user. * Time timeRequest = new Time(); * timeRequest.setType(IQ.Type.GET); - * timeRequest.setTo(someUser@example.com); + * timeRequest.setTo(someUser@example.com/resource); * * // Create a packet collector to listen for a response. * PacketCollector collector = con.createPacketCollector( @@ -55,7 +55,7 @@ import java.util.TimeZone; * }
* * Warning: this is an non-standard protocol documented by - * JEP-90. Because this is a + * XEP-0090. Because this is a * non-standard protocol, it is subject to change. * * @author Matt Tucker @@ -73,7 +73,7 @@ public class Time extends IQ { * Creates a new Time instance with empty values for all fields. */ public Time() { - this(Calendar.getInstance()); + } /**