diff --git a/source/org/jivesoftware/smackx/packet/Time.java b/source/org/jivesoftware/smackx/packet/Time.java index 196e8f214..0e8305673 100644 --- a/source/org/jivesoftware/smackx/packet/Time.java +++ b/source/org/jivesoftware/smackx/packet/Time.java @@ -14,24 +14,23 @@ import java.text.DateFormat; * following code snippet: * *
- * // Request the time from a remote user.
- * Time timeRequest = new Time();
+ * // Request the time from a remote user.
+ * Time timeRequest = new Time();
  * timeRequest.setType(IQ.Type.GET);
- * timeRequest.setTo("someUser@example.com");
-
- *  
- * // Create a packet collector to listen for a response.
+ * timeRequest.setTo(someUser@example.com);
+ *
+ * // Create a packet collector to listen for a response.
  * PacketCollector collector = con.createPacketCollector(
- *                new PacketIDFilter(timeRequest.getPacketID()));
- *  
+ *                new PacketIDFilter(timeRequest.getPacketID()));
+ *
  * con.sendPacket(timeRequest);
- *  
- * // Wait up to 5 seconds for a result.
+ *
+ * // Wait up to 5 seconds for a result.
  * IQ result = (IQ)collector.nextResult(5000);
- * if (result != null && result.getType() == IQ.Type.RESULT) {
+ * if (result != null && result.getType() == IQ.Type.RESULT) {
  *     Time timeResult = (Time)result;
- *     // Do something with result...
- * }

+ * // Do something with result... + * }

* * Warning: this is an non-standard protocol documented by * JEP-90. Because this is a