1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2025-09-09 10:19:41 +02:00

Globally 's;stanza(/packet);stanza;'

This commit is contained in:
Florian Schmaus 2018-03-31 14:17:30 +02:00
parent 1d12be1644
commit ad87243060
171 changed files with 911 additions and 599 deletions

View file

@ -621,7 +621,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
}
/**
* Initializes the connection by creating a stanza(/packet) reader and writer and opening a
* Initializes the connection by creating a stanza reader and writer and opening a
* XMPP stream to the server.
*
* @throws XMPPException if establishing a connection to the server fails.
@ -1012,7 +1012,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
}
/**
* Shuts the stanza(/packet) reader down. This method simply sets the 'done' flag to true.
* Shuts the stanza reader down. This method simply sets the 'done' flag to true.
*/
void shutdown() {
done = true;
@ -1267,7 +1267,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
XMPPTCPConnection.this, "shutdown completed");
/**
* If set, the stanza(/packet) writer is shut down
* If set, the stanza writer is shut down
*/
protected volatile Long shutdownTimestamp = null;
@ -1347,7 +1347,7 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
}
/**
* Shuts down the stanza(/packet) writer. Once this method has been called, no further
* Shuts down the stanza writer. Once this method has been called, no further
* packets will be written to the server.
* @throws InterruptedException
*/

View file

@ -35,7 +35,7 @@ public class PacketWriterTest {
private volatile boolean prematureUnblocked;
/**
* Make sure that stanza(/packet) writer does block once the queue reaches
* Make sure that stanza writer does block once the queue reaches
* {@link PacketWriter#QUEUE_SIZE} and that
* {@link PacketWriter#sendStanza(org.jivesoftware.smack.tcp.packet.Packet)} does unblock after the
* interrupt.