Skip to content

Commit

Permalink
Easy to use try-with-resources
Browse files Browse the repository at this point in the history
  • Loading branch information
heshengbang committed Oct 5, 2018
1 parent 4590d18 commit c7be9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/influxdb/impl/InfluxDBImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
*
* @author stefan.majer [at] gmail.com
*/
public class InfluxDBImpl implements InfluxDB {
public class InfluxDBImpl implements InfluxDB, AutoCloseable {

private static final String APPLICATION_MSGPACK = "application/x-msgpack";

Expand Down

0 comments on commit c7be9b0

Please sign in to comment.