diff --git a/README.md b/README.md index 61c7dac..b7ec6a6 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ I recommend using the Maven artifact from Maven Central using this dependency: me.legrange mikrotik - 2.2 + 3.0 ``` You can also clone or fork the repository, or download the source as a zip or tar.gz from [Releases](https://github.com/GideonLeGrange/mikrotik-java/releases) diff --git a/src/main/java/me/legrange/mikrotik/ApiConnection.java b/src/main/java/me/legrange/mikrotik/ApiConnection.java index 809aa05..bd21f7e 100644 --- a/src/main/java/me/legrange/mikrotik/ApiConnection.java +++ b/src/main/java/me/legrange/mikrotik/ApiConnection.java @@ -33,8 +33,9 @@ public abstract class ApiConnection implements AutoCloseable { /** * Create a new API connection to the give device on the supplied port using - * the supplied socket factory to create the socket. d + * the supplied socket factory to create the socket. * + * @param fact SocketFactory to use for TCP socket creation. * @param host The host to which to connect. * @param port The TCP port to use. * @param timeout The connection timeout to use when opening the connection. @@ -128,7 +129,7 @@ public abstract class ApiConnection implements AutoCloseable { * * @param tag The tag of the command to cancel * @throws me.legrange.mikrotik.MikrotikApiException Thrown if there is a - * problem canceling the command + * problem cancelling the command */ public abstract void cancel(String tag) throws MikrotikApiException;