mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 00:59:39 +02:00
Enable trailing whitespace checkstyle check
for all source code regions, including javadoc.
This commit is contained in:
parent
9d61a6de7d
commit
e8923b9d16
545 changed files with 3713 additions and 3715 deletions
|
@ -26,7 +26,7 @@ import org.jivesoftware.smack.proxy.ProxyInfo;
|
|||
/**
|
||||
* Configuration to use while establishing the connection to the XMPP server via
|
||||
* HTTP binding.
|
||||
*
|
||||
*
|
||||
* @see XMPPBOSHConnection
|
||||
* @author Guenther Niess
|
||||
*/
|
||||
|
|
|
@ -64,7 +64,7 @@ import org.xmlpull.v1.XmlPullParserFactory;
|
|||
/**
|
||||
* Creates a connection to an XMPP server via HTTP binding.
|
||||
* This is specified in the XEP-0206: XMPP Over BOSH.
|
||||
*
|
||||
*
|
||||
* @see XMPPConnection
|
||||
* @author Guenther Niess
|
||||
*/
|
||||
|
@ -109,7 +109,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
|||
|
||||
/**
|
||||
* Create a HTTP Binding connection to an XMPP server.
|
||||
*
|
||||
*
|
||||
* @param username the username to use.
|
||||
* @param password the password to use.
|
||||
* @param https true if you want to use SSL
|
||||
|
@ -131,7 +131,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
|||
|
||||
/**
|
||||
* Create a HTTP Binding connection to an XMPP server.
|
||||
*
|
||||
*
|
||||
* @param config The configuration which is used for this connection.
|
||||
*/
|
||||
public XMPPBOSHConnection(BOSHConfiguration config) {
|
||||
|
@ -191,7 +191,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
|||
// If there is no feedback, throw an remote server timeout error
|
||||
if (!connected && !done) {
|
||||
done = true;
|
||||
String errorMessage = "Timeout reached for the connection to "
|
||||
String errorMessage = "Timeout reached for the connection to "
|
||||
+ getHost() + ":" + getPort() + ".";
|
||||
throw new SmackException(errorMessage);
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
|||
}
|
||||
|
||||
/**
|
||||
* Closes the connection by setting presence to unavailable and closing the
|
||||
* Closes the connection by setting presence to unavailable and closing the
|
||||
* HTTP client. The shutdown logic will be used during a planned disconnection or when
|
||||
* dealing with an unexpected disconnection. Unlike {@link #disconnect()} the connection's
|
||||
* BOSH stanza reader will not be removed; thus connection's state is kept.
|
||||
|
@ -289,7 +289,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
|||
|
||||
/**
|
||||
* Send a HTTP request to the connection manager with the provided body element.
|
||||
*
|
||||
*
|
||||
* @param body the body which will be sent.
|
||||
* @throws BOSHException
|
||||
*/
|
||||
|
@ -405,7 +405,7 @@ public class XMPPBOSHConnection extends AbstractXMPPConnection {
|
|||
/**
|
||||
* A listener class which listen for a successfully established connection
|
||||
* and connection errors and notifies the BOSHConnection.
|
||||
*
|
||||
*
|
||||
* @author Guenther Niess
|
||||
*/
|
||||
private class BOSHConnectionListener implements BOSHClientConnListener {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue