From 9c9d1f893a88e12170f17db2db1dd4eaa252f1fe Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 21 Oct 2015 11:04:09 +0200 Subject: [PATCH] Typo in XMPPTCPConnection s/ResumptiodDefault/ResumptionDefault/ --- .../org/jivesoftware/smack/tcp/XMPPTCPConnection.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java index ea27a0227..cb1a3216b 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java +++ b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XMPPTCPConnection.java @@ -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);