From 1559ae26cdd2bd1a4cadf9ea7bfaa4fddfa09e2e Mon Sep 17 00:00:00 2001 From: Gideon le Grange Date: Wed, 6 Jan 2016 12:48:47 +0200 Subject: [PATCH] Cleaning up for 3.0 --- README.md | 2 +- src/main/java/me/legrange/mikrotik/ApiConnection.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) 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;