From ff0b596ca7d8e29df324b9e9dc95bdffb961ca12 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Fri, 11 Feb 2022 09:16:26 +1100 Subject: [PATCH] Issue #7513 Move jmx annotation to PropertiesConfigurationManager.getFile (#7532) Signed-off-by: Jan Bartel --- .../eclipse/jetty/deploy/PropertiesConfigurationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java index 77b957a99eb1..667a24240680 100644 --- a/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java +++ b/jetty-deploy/src/main/java/org/eclipse/jetty/deploy/PropertiesConfigurationManager.java @@ -57,7 +57,6 @@ public PropertiesConfigurationManager() this(null); } - @ManagedAttribute("A file or URL of properties") public void setFile(String resource) throws IOException { _properties = resource; @@ -65,6 +64,7 @@ public void setFile(String resource) throws IOException loadProperties(_properties); } + @ManagedAttribute("A file or URL of properties") public String getFile() { return _properties;