1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 09:39:39 +02:00

Substitute 'packet' with 'stanza(/packet)' in javadoc

This commit is contained in:
Florian Schmaus 2015-03-21 09:36:28 +01:00
parent 0ca4e8b72a
commit 5e86db4f80
168 changed files with 650 additions and 650 deletions

View file

@ -50,10 +50,10 @@ import org.jivesoftware.smack.packet.Stanza;
* <pre>
* <code>
* public void methodToTest() {
* Packet packet = new Packet(); // create an XMPP packet
* Stanza(/Packet) stanza(/packet) = new Packet(); // create an XMPP packet
* PacketCollector collector = connection.createPacketCollector(new StanzaIdFilter());
* connection.sendStanza(packet);
* Packet reply = collector.nextResult();
* Stanza(/Packet) reply = collector.nextResult();
* }
*
* public void testMethod() {
@ -62,8 +62,8 @@ import org.jivesoftware.smack.packet.Stanza;
* // create mocked connection
* XMPPConnection connection = ConnectionUtils.createMockedConnection(protocol, "user@xmpp-server", "xmpp-server");
*
* // add reply packet to protocol
* Packet reply = new Packet();
* // add reply stanza(/packet) to protocol
* Stanza(/Packet) reply = new Packet();
* protocol.add(reply);
*
* // call method to test