1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 21:42:07 +01:00

Some more docFix es

This commit is contained in:
Aditya Borikar 2020-05-31 01:10:29 +05:30
parent 223d58527b
commit d639e0bc4c
3 changed files with 3 additions and 3 deletions

View file

@ -353,7 +353,7 @@ public final class ModularXmppClientToServerConnection extends AbstractXMPPConne
} }
/** /**
* Attempt to enter a state. Note that this method may return <code>null</code> if this state can be safely ignored ignored. * Attempt to enter a state. Note that this method may return <code>null</code> if this state can be safely ignored.
* *
* @param successorStateVertex the successor state vertex. * @param successorStateVertex the successor state vertex.
* @param walkStateGraphContext the "walk state graph" context. * @param walkStateGraphContext the "walk state graph" context.

View file

@ -212,7 +212,7 @@ public abstract class StateDescriptor {
protected State constructState(ModularXmppClientToServerConnectionInternal connectionInternal) { protected State constructState(ModularXmppClientToServerConnectionInternal connectionInternal) {
ModularXmppClientToServerConnection connection = connectionInternal.connection; ModularXmppClientToServerConnection connection = connectionInternal.connection;
try { 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? // StateDescriptor.constructState() method?
return stateClassConstructor.newInstance(connection, this, connectionInternal); return stateClassConstructor.newInstance(connection, this, connectionInternal);
} catch (InstantiationException | IllegalAccessException | IllegalArgumentException } catch (InstantiationException | IllegalAccessException | IllegalArgumentException

View file

@ -591,7 +591,7 @@ public class XmppTcpTransportModule extends ModularXmppClientToServerConnectionM
@Override @Override
protected List<SmackFuture<LookupConnectionEndpointsResult, Exception>> lookupConnectionEndpoints() { protected List<SmackFuture<LookupConnectionEndpointsResult, Exception>> 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; assert discoveredTcpEndpoints == null;
List<SmackFuture<LookupConnectionEndpointsResult, Exception>> futures = new ArrayList<>(2); List<SmackFuture<LookupConnectionEndpointsResult, Exception>> futures = new ArrayList<>(2);