From c8563c07a14e2b440db343e39fdbe23920b97ec6 Mon Sep 17 00:00:00 2001 From: Abraham Wolk Date: Thu, 17 Jul 2025 09:43:37 +0200 Subject: [PATCH] CSSTUDIO-3336 Bugfix: Remove logging of warning when 'resource_name' is not a URL and clarify comment. --- .../display/builder/model/util/ModelResourceUtil.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/display/model/src/main/java/org/csstudio/display/builder/model/util/ModelResourceUtil.java b/app/display/model/src/main/java/org/csstudio/display/builder/model/util/ModelResourceUtil.java index 577e4c5620..4aeb22fb4e 100644 --- a/app/display/model/src/main/java/org/csstudio/display/builder/model/util/ModelResourceUtil.java +++ b/app/display/model/src/main/java/org/csstudio/display/builder/model/util/ModelResourceUtil.java @@ -304,8 +304,7 @@ private static String doResolveResource(final String parent_display, final Strin return null; } - /** Check if a resource doesn't just look like a URL - * but can actually be opened + /** Check if a resource can be opened as a URL * @param resource_name Path to resource, presumably "http://.." * @return true if indeed an exiting URL */ @@ -327,7 +326,6 @@ private static boolean canOpenUrl(final String resource_name) } if (! isURL(resource_name)) { - logger.log(Level.WARNING, "URL {0} is not a URL", new Object[] { resource_name }); return false; }