Skip to content

Commit df7fd26

Browse files
committed
fix: closeable -> autocloseable
1 parent 93109f1 commit df7fd26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/github/tadayosi/tensorflow/serving/client/TensorFlowServingClient.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.github.tadayosi.tensorflow.serving.client;
22

3-
import java.io.Closeable;
43
import java.util.Optional;
54

65
import io.grpc.ChannelCredentials;
@@ -15,7 +14,7 @@
1514
import tensorflow.serving.PredictionServiceGrpc;
1615
import tensorflow.serving.RegressionOuterClass;
1716

18-
public class TensorFlowServingClient implements TensorFlowServingApi, Closeable {
17+
public class TensorFlowServingClient implements TensorFlowServingApi, AutoCloseable {
1918

2019
private static final String DEFAULT_TARGET = "localhost:8500";
2120

0 commit comments

Comments
 (0)