From c36d1c75d68eb18d772c85600d4aa604181f2ec4 Mon Sep 17 00:00:00 2001 From: Subhobrata Dey Date: Mon, 23 Sep 2024 13:28:52 -0700 Subject: [PATCH] remove redundant logic to fix OS launch exception and updates actions/upload-artifac2 to @V3 (#1303) Signed-off-by: Subhobrata Dey --- .../securityanalytics/logtype/BuiltinLogTypeLoader.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/opensearch/securityanalytics/logtype/BuiltinLogTypeLoader.java b/src/main/java/org/opensearch/securityanalytics/logtype/BuiltinLogTypeLoader.java index 80d0ae50d..2e77b0831 100644 --- a/src/main/java/org/opensearch/securityanalytics/logtype/BuiltinLogTypeLoader.java +++ b/src/main/java/org/opensearch/securityanalytics/logtype/BuiltinLogTypeLoader.java @@ -70,8 +70,6 @@ public void ensureLogTypesLoaded() { private List loadBuiltinLogTypes() throws URISyntaxException, IOException { List logTypes = new ArrayList<>(); - String pathurl = Paths.get(BuiltinLogTypeLoader.class.getClassLoader().getResource(BASE_PATH).toURI()).toString(); - final String url = Objects.requireNonNull(BuiltinLogTypeLoader.class.getClassLoader().getResource(BASE_PATH)).toURI().toString(); Path dirPath = null; if (url.contains("!")) {