Skip to content

Commit

Permalink
[refactor] make Configuration.config private final
Browse files Browse the repository at this point in the history
The other two protected properties cannot be made private
because they are accessed from SingleInstanceConfiguration
  • Loading branch information
line-o committed Aug 30, 2023
1 parent 7b3cc5d commit c35b33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exist-core/src/main/java/org/exist/util/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ public class Configuration implements ErrorHandler {
private static final String XQUERY_CONFIGURATION_ELEMENT_NAME = "xquery";
private static final String XQUERY_BUILTIN_MODULES_CONFIGURATION_MODULES_ELEMENT_NAME = "builtin-modules";
private static final String XQUERY_BUILTIN_MODULES_CONFIGURATION_MODULE_ELEMENT_NAME = "module";
private final Map<String, Object> config = new HashMap<>(); //Configuration
protected Optional<Path> configFilePath = Optional.empty();
protected Optional<Path> existHome = Optional.empty();
protected Map<String, Object> config = new HashMap<>(); //Configuration

public Configuration() throws DatabaseConfigurationException {
this(DatabaseImpl.CONF_XML, Optional.empty());
Expand Down

0 comments on commit c35b33a

Please sign in to comment.