Skip to content

Commit

Permalink
Issue #7513 Move jmx annotation to PropertiesConfigurationManager.get…
Browse files Browse the repository at this point in the history
…File (#7532)

Signed-off-by: Jan Bartel <[email protected]>
  • Loading branch information
janbartel authored Feb 10, 2022
1 parent 9602120 commit ff0b596
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ public PropertiesConfigurationManager()
this(null);
}

@ManagedAttribute("A file or URL of properties")
public void setFile(String resource) throws IOException
{
_properties = resource;
_map.clear();
loadProperties(_properties);
}

@ManagedAttribute("A file or URL of properties")
public String getFile()
{
return _properties;
Expand Down

0 comments on commit ff0b596

Please sign in to comment.