1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 04:22:05 +01:00

Remove deprecated "PacketReplyTimeout" methods in SmackConfiguration

This commit is contained in:
Florian Schmaus 2019-09-25 23:45:29 +02:00
parent 35cf094386
commit f0300dc906

View file

@ -108,30 +108,6 @@ public final class SmackConfiguration {
return SmackInitialization.SMACK_VERSION; return SmackInitialization.SMACK_VERSION;
} }
/**
* Returns the number of milliseconds to wait for a response from
* the server. The default value is 5000 ms.
*
* @return the milliseconds to wait for a response from the server
* @deprecated use {@link #getDefaultReplyTimeout()} instead.
*/
@Deprecated
public static int getDefaultPacketReplyTimeout() {
return getDefaultReplyTimeout();
}
/**
* Sets the number of milliseconds to wait for a response from
* the server.
*
* @param timeout the milliseconds to wait for a response from the server
* @deprecated use {@link #setDefaultReplyTimeout(int)} instead.
*/
@Deprecated
public static void setDefaultPacketReplyTimeout(int timeout) {
setDefaultReplyTimeout(timeout);
}
/** /**
* Returns the number of milliseconds to wait for a response from * Returns the number of milliseconds to wait for a response from
* the server. The default value is 5000 ms. * the server. The default value is 5000 ms.