mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
[build] Bump error prone from 2.9.0 to 2.32.0
This commit is contained in:
parent
07d9d694da
commit
beacb5eb8e
69 changed files with 265 additions and 255 deletions
|
@ -85,7 +85,7 @@ public final class AdHocCommandManager extends Manager {
|
|||
*/
|
||||
private static final Map<XMPPConnection, AdHocCommandManager> instances = new WeakHashMap<>();
|
||||
|
||||
/**
|
||||
/*
|
||||
* Register the listener for all the connection creations. When a new
|
||||
* connection is created a new AdHocCommandManager is also created and
|
||||
* related to that connection.
|
||||
|
@ -463,7 +463,7 @@ public final class AdHocCommandManager extends Manager {
|
|||
private AdHocCommandData processAdHocCommandOfExistingSession(AdHocCommandData request, AdHocCommandHandler command, AdHocCommandDataBuilder responseBuilder) {
|
||||
// Check if the Session data has expired (default is 10 minutes)
|
||||
long creationStamp = command.getCreationDate();
|
||||
if (System.currentTimeMillis() - creationStamp > sessionTimeoutSecs * 1000) {
|
||||
if (System.currentTimeMillis() - creationStamp > sessionTimeoutSecs * 1000L) {
|
||||
// Remove the expired session
|
||||
executingCommands.remove(command.getSessionId());
|
||||
|
||||
|
@ -553,7 +553,7 @@ public final class AdHocCommandManager extends Manager {
|
|||
// after the time out, then once the user requests to
|
||||
// continue the execution he will received an
|
||||
// invalid session error and not a time out error.
|
||||
if (currentTime - creationStamp > getSessionRemovalTimeoutSecs() * 1000) {
|
||||
if (currentTime - creationStamp > getSessionRemovalTimeoutSecs() * 1000L) {
|
||||
// Remove the expired session
|
||||
it.remove();
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ public class JivePropertiesExtensionProvider extends ExtensionElementProvider<Ji
|
|||
* down the entire connection. ClassCastExceptions will occur when both the sender and receiver
|
||||
* of the stanza don't have identical versions of the same class.
|
||||
* <p>
|
||||
* Note that you have to explicitly enabled Java object deserialization with @{link
|
||||
* Note that you have to explicitly enabled Java object deserialization with
|
||||
* {@link JivePropertiesManager#setJavaObjectEnabled(boolean)}
|
||||
*
|
||||
* @param parser the XML parser, positioned at the start of a properties sub-packet.
|
||||
|
|
|
@ -143,7 +143,6 @@ public final class PrivacyListManager extends Manager {
|
|||
else {
|
||||
cachedActiveListName = activeListName;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}, iqResultReplyFilter);
|
||||
}
|
||||
|
@ -165,7 +164,6 @@ public final class PrivacyListManager extends Manager {
|
|||
else {
|
||||
cachedDefaultListName = defaultListName;
|
||||
}
|
||||
return;
|
||||
}
|
||||
}, iqResultReplyFilter);
|
||||
}
|
||||
|
|
|
@ -386,7 +386,7 @@ public abstract class FormField implements XmlElement {
|
|||
protected transient List<XmlElement> extraXmlChildElements;
|
||||
|
||||
/**
|
||||
* Populate @{link {@link #extraXmlChildElements}}. Note that this method may be overridden by subclasses.
|
||||
* Populate {@link #extraXmlChildElements}. Note that this method may be overridden by subclasses.
|
||||
*/
|
||||
protected void populateExtraXmlChildElements() {
|
||||
List<Value> values = getRawValues();
|
||||
|
|
|
@ -179,7 +179,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
Socks5BytestreamManager byteStreamManager = Socks5BytestreamManager.getBytestreamManager(connection);
|
||||
byteStreamManager.setAnnounceLocalStreamHost(false);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
@ -231,7 +231,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
Socks5BytestreamManager byteStreamManager = Socks5BytestreamManager.getBytestreamManager(connection);
|
||||
byteStreamManager.setAnnounceLocalStreamHost(false);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
@ -292,7 +292,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
Socks5BytestreamManager byteStreamManager = Socks5BytestreamManager.getBytestreamManager(connection);
|
||||
byteStreamManager.setAnnounceLocalStreamHost(false);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
@ -375,7 +375,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
Socks5BytestreamManager byteStreamManager = Socks5BytestreamManager.getBytestreamManager(connection);
|
||||
byteStreamManager.setAnnounceLocalStreamHost(false);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
@ -454,7 +454,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
// TODO: It appears that it is not required to disable the local stream host for this unit test.
|
||||
byteStreamManager.setAnnounceLocalStreamHost(false);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
@ -541,7 +541,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
byteStreamManager.setAnnounceLocalStreamHost(false);
|
||||
byteStreamManager.setProxyConnectionTimeout(3000);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
@ -634,7 +634,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
Socks5BytestreamManager byteStreamManager = Socks5BytestreamManager.getBytestreamManager(connection);
|
||||
byteStreamManager.setAnnounceLocalStreamHost(false);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
@ -760,7 +760,7 @@ public class Socks5ByteStreamManagerTest {
|
|||
// get Socks5ByteStreamManager for connection
|
||||
Socks5BytestreamManager byteStreamManager = Socks5BytestreamManager.getBytestreamManager(connection);
|
||||
|
||||
/**
|
||||
/*
|
||||
* create responses in the order they should be queried specified by the XEP-0065
|
||||
* specification
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue