From 813f2532d8c7ebcc71d09d4dad90043689f75074 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Wed, 19 Oct 2016 14:46:38 -0400 Subject: [PATCH] NO-JIRA: just adding some javadoc on ReloadManager --- .../artemis/core/server/reload/ReloadManagerImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/reload/ReloadManagerImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/reload/ReloadManagerImpl.java index 2ff04f4cf6..8dfc3fe713 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/reload/ReloadManagerImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/reload/ReloadManagerImpl.java @@ -93,7 +93,9 @@ public class ReloadManagerImpl extends ActiveMQScheduledComponent implements Rel ReloadRegistry(URL uri) { try { - file = new File(uri.toURI());//"file:etc/artemis.xml" + file = new File(uri.toURI()); // artemis-features will have this as "file:etc/artemis.xml" + // so, we need to make sure we catch the exception and try + // a simple path as it will be a relative path } catch (Exception e) { logger.debug(e.getMessage(), e); file = new File(uri.getPath());