mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-23 13:07:59 +01:00
Small fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7407 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
082cc06b72
commit
5199427bbd
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
|||
* }</pre><p>
|
||||
*
|
||||
* Warning: this is an non-standard protocol documented by
|
||||
* <a href="http://www.jabber.org/jeps/jep-0090.html">JEP-90</a>. Because this is a
|
||||
* <a href="http://www.xmpp.org/extensions/xep-0090.html">XEP-0090</a>. 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());
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue