From 84b57d5f22a103258995243e692695952d790516 Mon Sep 17 00:00:00 2001 From: Greg Meldrum Date: Fri, 24 Nov 2023 14:38:24 -0500 Subject: [PATCH] Update IT method scope to private --- .../management/agent/plugin/terraform/TerraformCommandIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/terraform-plugin/src/test/java/com/solace/maas/ep/event/management/agent/plugin/terraform/TerraformCommandIT.java b/service/terraform-plugin/src/test/java/com/solace/maas/ep/event/management/agent/plugin/terraform/TerraformCommandIT.java index d6710cc9..70641a49 100644 --- a/service/terraform-plugin/src/test/java/com/solace/maas/ep/event/management/agent/plugin/terraform/TerraformCommandIT.java +++ b/service/terraform-plugin/src/test/java/com/solace/maas/ep/event/management/agent/plugin/terraform/TerraformCommandIT.java @@ -337,7 +337,7 @@ private void setupLogMock(List logs) { } - public static String getResourceAsString(Resource resource) { + private static String getResourceAsString(Resource resource) { try (Reader reader = new InputStreamReader(resource.getInputStream(), UTF_8)) { return FileCopyUtils.copyToString(reader); } catch (IOException e) { @@ -345,7 +345,7 @@ public static String getResourceAsString(Resource resource) { } } - public static List getResourceAsStringArray(Resource resource) { + private static List getResourceAsStringArray(Resource resource) { try (Reader reader = new InputStreamReader(resource.getInputStream(), UTF_8)) { return Arrays.stream(FileCopyUtils.copyToString(reader).split("\n")) .filter(StringUtils::isNotEmpty)