From ec8404aad53950350762cb479ff2481ca904fe0b Mon Sep 17 00:00:00 2001 From: zane-neo Date: Sat, 27 Apr 2024 09:07:43 +0800 Subject: [PATCH] format code Signed-off-by: zane-neo --- .../algorithms/remote/MLSdkAsyncHttpResponseHandler.java | 3 --- plugin/src/main/java/org/opensearch/ml/utils/LoggerUtil.java | 2 -- 2 files changed, 5 deletions(-) delete mode 100644 plugin/src/main/java/org/opensearch/ml/utils/LoggerUtil.java diff --git a/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/MLSdkAsyncHttpResponseHandler.java b/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/MLSdkAsyncHttpResponseHandler.java index 80306c2003..28ed1bc200 100644 --- a/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/MLSdkAsyncHttpResponseHandler.java +++ b/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/remote/MLSdkAsyncHttpResponseHandler.java @@ -25,14 +25,11 @@ import org.opensearch.ml.common.exception.MLException; import org.opensearch.ml.common.model.MLGuard; import org.opensearch.ml.common.output.model.ModelTensors; -import org.opensearch.ml.common.utils.StringUtils; import org.opensearch.script.ScriptService; import org.reactivestreams.Publisher; import org.reactivestreams.Subscriber; import org.reactivestreams.Subscription; -import com.google.gson.Gson; - import lombok.Getter; import lombok.extern.log4j.Log4j2; import software.amazon.awssdk.http.SdkHttpFullResponse; diff --git a/plugin/src/main/java/org/opensearch/ml/utils/LoggerUtil.java b/plugin/src/main/java/org/opensearch/ml/utils/LoggerUtil.java deleted file mode 100644 index 1f1a7adc23..0000000000 --- a/plugin/src/main/java/org/opensearch/ml/utils/LoggerUtil.java +++ /dev/null @@ -1,2 +0,0 @@ -package org.opensearch.ml.utils;public class LoggerUtil { -}