Skip to content

Commit

Permalink
Update fields to be final
Browse files Browse the repository at this point in the history
  • Loading branch information
akang31 committed Jul 19, 2023
1 parent 7db899f commit a43635b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ public class ConcurrentCompositeConfiguration extends ConcurrentMapConfiguration

private Map<String, AbstractConfiguration> namedConfigurations = new ConcurrentHashMap<String, AbstractConfiguration>();

private Map<String, Integer> stackTraces = new ConcurrentHashMap<>();
private final Map<String, Integer> stackTraces = new ConcurrentHashMap<>();
private final Set<String> usedProperties = ConcurrentHashMap.newKeySet();

public Set<String> getUsedProperties() {
return usedProperties;
}

private Set<String> usedProperties = ConcurrentHashMap.newKeySet();

private List<AbstractConfiguration> configList = new CopyOnWriteArrayList<AbstractConfiguration>();

Expand Down

0 comments on commit a43635b

Please sign in to comment.