From db1018a5c8fb964a6ce32b69532946f7ee886727 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Thu, 2 May 2024 10:49:52 +0200 Subject: [PATCH] fixed log --- .../org/gcube/datatransfer/resolver/UriResolverServices.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/datatransfer/resolver/UriResolverServices.java b/src/main/java/org/gcube/datatransfer/resolver/UriResolverServices.java index 6ccefae..6ee7764 100644 --- a/src/main/java/org/gcube/datatransfer/resolver/UriResolverServices.java +++ b/src/main/java/org/gcube/datatransfer/resolver/UriResolverServices.java @@ -193,8 +193,9 @@ public class UriResolverServices { if(listResourcePath.isEmpty()){ log.info("Reference to the List of Resources/Services is empty, creating it..."); readResources(applicationClasses); - log.info("Hard-Coding the resource/s: "+ConstantsResolver.resourcesHardCoded); - listResourcePath.addAll(Arrays.asList(ConstantsResolver.resourcesHardCoded)); + List listHardCodedResources = Arrays.asList(ConstantsResolver.resourcesHardCoded); + log.info("Hard-Coding the resource/s: "+listHardCodedResources); + listResourcePath.addAll(listHardCodedResources); } return listResourcePath;