Fixed typo in README

This commit is contained in:
Gideon le Grange 2016-11-24 16:27:39 +02:00
parent f9c7db8ae5
commit aae18ec248
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ DEFAULT_CONNECTION_TIMEOUT | Default connection `timeout` value (ms) | 60000
### Try with resources
The API can also be used in a "try with resources" statement which will ensure that the connection is close
The API can also be used in a "try with resources" statement which will ensure that the connection is closed:
```java
try (ApiConnection con = ApiConnection.connect(SocketFactory.getDefault(), Config.HOST, ApiConnection.DEFAULT_PORT, 2000)) {