Skip to content

Commit

Permalink
apply spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Bhavana Ramaram <[email protected]>
  • Loading branch information
rbhavna committed Nov 27, 2023
1 parent d0a7491 commit 5abad8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void toXContentTest() throws IOException {
}

@Test
public void fromActionResponseWithMLModelGetResponse_Success() {
public void fromActionResponseWithMLModelGroupGetResponse_Success() {
MLModelGroupGetResponse mlModelGroupGetResponse = MLModelGroupGetResponse.builder().mlModelGroup(mlModelGroup).build();
MLModelGroupGetResponse mlModelGroupGetResponseFromActionResponse = MLModelGroupGetResponse.fromActionResponse(mlModelGroupGetResponse);
assertSame(mlModelGroupGetResponse, mlModelGroupGetResponseFromActionResponse);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@

package org.opensearch.ml.rest;

import com.google.common.base.Throwables;
import com.google.common.collect.ImmutableList;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;

import org.apache.hc.core5.http.HttpHeaders;
import org.apache.hc.core5.http.HttpHost;
import org.apache.hc.core5.http.message.BasicHeader;
Expand All @@ -25,10 +28,8 @@
import org.opensearch.ml.common.transport.model_group.MLUpdateModelGroupInput;
import org.opensearch.ml.utils.TestHelper;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import com.google.common.base.Throwables;
import com.google.common.collect.ImmutableList;

public class MLModelGroupRestIT extends MLCommonsRestTestCase {

Expand Down

0 comments on commit 5abad8d

Please sign in to comment.