Skip to content

Commit

Permalink
Remove deprecated "PacketReplyTimeout" methods in SmackConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowdalic committed Sep 25, 2019
1 parent 35cf094 commit f0300dc
Showing 1 changed file with 0 additions and 24 deletions.
Expand Up @@ -108,30 +108,6 @@ public static String getVersion() {
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
* the server. The default value is 5000 ms.
Expand Down

0 comments on commit f0300dc

Please sign in to comment.