From 223d58527b053d606b8980766c0aedd749c58663 Mon Sep 17 00:00:00 2001
From: Aditya Borikar
* {@code - * XMPPTCPConnectionConfiguration conf = XMPPConnectionConfiguration.builder() + * XMPPTCPConnectionConfiguration conf = XMPPTCPConnectionConfiguration.builder() * .setXmppDomain("example.org").setUsernameAndPassword("user", "password") * .setCompressionEnabled(false).build(); * XMPPTCPConnection connection = new XMPPTCPConnection(conf); From d639e0bc4c345a59c8356c47df84d95d24b7aaec Mon Sep 17 00:00:00 2001 From: Aditya BorikarDate: Sun, 31 May 2020 01:10:29 +0530 Subject: [PATCH 2/2] Some more docFix es --- .../smack/c2s/ModularXmppClientToServerConnection.java | 2 +- .../main/java/org/jivesoftware/smack/fsm/StateDescriptor.java | 2 +- .../java/org/jivesoftware/smack/tcp/XmppTcpTransportModule.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/c2s/ModularXmppClientToServerConnection.java b/smack-core/src/main/java/org/jivesoftware/smack/c2s/ModularXmppClientToServerConnection.java index 061d25e7a..f272a366b 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/c2s/ModularXmppClientToServerConnection.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/c2s/ModularXmppClientToServerConnection.java @@ -353,7 +353,7 @@ public final class ModularXmppClientToServerConnection extends AbstractXMPPConne } /** - * Attempt to enter a state. Note that this method may return null
if this state can be safely ignored ignored. + * Attempt to enter a state. Note that this method may returnnull
if this state can be safely ignored. * * @param successorStateVertex the successor state vertex. * @param walkStateGraphContext the "walk state graph" context. diff --git a/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java b/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java index 0ef98885c..aec14b18e 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/fsm/StateDescriptor.java @@ -212,7 +212,7 @@ public abstract class StateDescriptor { protected State constructState(ModularXmppClientToServerConnectionInternal connectionInternal) { ModularXmppClientToServerConnection connection = connectionInternal.connection; try { - // If stateClassConstructor is null here, then you probably forgot to override the the + // If stateClassConstructor is null here, then you probably forgot to override the // StateDescriptor.constructState() method? return stateClassConstructor.newInstance(connection, this, connectionInternal); } catch (InstantiationException | IllegalAccessException | IllegalArgumentException diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XmppTcpTransportModule.java b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XmppTcpTransportModule.java index 74286fdd9..fd630ae6c 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XmppTcpTransportModule.java +++ b/smack-tcp/src/main/java/org/jivesoftware/smack/tcp/XmppTcpTransportModule.java @@ -591,7 +591,7 @@ public class XmppTcpTransportModule extends ModularXmppClientToServerConnectionM @Override protected List> lookupConnectionEndpoints() { - // Assert that there are no stale discovred endpoints prior performing the lookup. + // Assert that there are no stale discovered endpoints prior performing the lookup. assert discoveredTcpEndpoints == null; List > futures = new ArrayList<>(2);