mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-20 11:02:05 +01:00
Typo in XMPPTCPConnection s/ResumptiodDefault/ResumptionDefault/
This commit is contained in:
parent
640849dac5
commit
9c9d1f893a
1 changed files with 11 additions and 0 deletions
|
@ -1460,8 +1460,19 @@ public class XMPPTCPConnection extends AbstractXMPPConnection {
|
|||
* Set if Stream Management resumption should be used by default for new connections.
|
||||
*
|
||||
* @param useSmResumptionDefault true to use Stream Management resumption for new connections.
|
||||
* @deprecated use {@link #setUseStreamManagementResumptionDefault(boolean)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public static void setUseStreamManagementResumptiodDefault(boolean useSmResumptionDefault) {
|
||||
setUseStreamManagementResumptionDefault(useSmResumptionDefault);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set if Stream Management resumption should be used by default for new connections.
|
||||
*
|
||||
* @param useSmResumptionDefault true to use Stream Management resumption for new connections.
|
||||
*/
|
||||
public static void setUseStreamManagementResumptionDefault(boolean useSmResumptionDefault) {
|
||||
if (useSmResumptionDefault) {
|
||||
// Also enable SM is resumption is enabled
|
||||
setUseStreamManagementDefault(useSmResumptionDefault);
|
||||
|
|
Loading…
Reference in a new issue