Cleaning up for 3.0

This commit is contained in:
Gideon le Grange 2016-01-06 12:48:47 +02:00
parent b87b7bbf8c
commit 1559ae26cd
2 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,7 @@ I recommend using the Maven artifact from Maven Central using this dependency:
<dependency> <dependency>
<groupId>me.legrange</groupId> <groupId>me.legrange</groupId>
<artifactId>mikrotik</artifactId> <artifactId>mikrotik</artifactId>
<version>2.2</version> <version>3.0</version>
</dependency> </dependency>
``` ```
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) 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)

View File

@ -33,8 +33,9 @@ public abstract class ApiConnection implements AutoCloseable {
/** /**
* Create a new API connection to the give device on the supplied port using * 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 host The host to which to connect.
* @param port The TCP port to use. * @param port The TCP port to use.
* @param timeout The connection timeout to use when opening the connection. * @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 * @param tag The tag of the command to cancel
* @throws me.legrange.mikrotik.MikrotikApiException Thrown if there is a * @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; public abstract void cancel(String tag) throws MikrotikApiException;