Skip to content

Commit

Permalink
fix: closeable -> autocloseable
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Nov 28, 2024
1 parent 93109f1 commit df7fd26
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.github.tadayosi.tensorflow.serving.client;

import java.io.Closeable;
import java.util.Optional;

import io.grpc.ChannelCredentials;
Expand All @@ -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";

Expand Down

0 comments on commit df7fd26

Please sign in to comment.