From df8c8c60eedebac5d82d174f05568af38aca9a16 Mon Sep 17 00:00:00 2001 From: Joshua Palis Date: Fri, 22 Mar 2024 19:52:24 +0000 Subject: [PATCH] removing immutable Signed-off-by: Joshua Palis --- .../org/opensearch/flowframework/FlowFrameworkRestTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java b/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java index c5f6aee13..4fe726ef8 100644 --- a/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java +++ b/src/test/java/org/opensearch/flowframework/FlowFrameworkRestTestCase.java @@ -692,7 +692,7 @@ protected List catPlugins() throws IOException { "_cat/plugins?s=component&h=name,component,version,description&format=json", null, "", - ImmutableList.of(new BasicHeader(HttpHeaders.USER_AGENT, "")) + List.of(new BasicHeader(HttpHeaders.USER_AGENT, "")) ); List pluginsList = JsonXContent.jsonXContent.createParser( NamedXContentRegistry.EMPTY,