From df7fd264694f53dd143b14b4c5606f0c14acc026 Mon Sep 17 00:00:00 2001 From: Tadayoshi Sato Date: Thu, 28 Nov 2024 16:22:12 +0900 Subject: [PATCH] fix: closeable -> autocloseable --- .../tensorflow/serving/client/TensorFlowServingClient.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/github/tadayosi/tensorflow/serving/client/TensorFlowServingClient.java b/src/main/java/com/github/tadayosi/tensorflow/serving/client/TensorFlowServingClient.java index 80a7cfd..4e1f45b 100644 --- a/src/main/java/com/github/tadayosi/tensorflow/serving/client/TensorFlowServingClient.java +++ b/src/main/java/com/github/tadayosi/tensorflow/serving/client/TensorFlowServingClient.java @@ -1,6 +1,5 @@ package com.github.tadayosi.tensorflow.serving.client; -import java.io.Closeable; import java.util.Optional; import io.grpc.ChannelCredentials; @@ -15,7 +14,7 @@ import tensorflow.serving.PredictionServiceGrpc; import tensorflow.serving.RegressionOuterClass; -public class TensorFlowServingClient implements TensorFlowServingApi, Closeable { +public class TensorFlowServingClient implements TensorFlowServingApi, AutoCloseable { private static final String DEFAULT_TARGET = "localhost:8500";