Skip to content

Commit

Permalink
Remove the extra wrap when returning properties
Browse files Browse the repository at this point in the history
  • Loading branch information
akang31 committed Jan 19, 2024
1 parent 1f16928 commit 29d5b06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public Set<String> getUsedProperties() {

public Set<String> getAndClearUsedProperties() {
Set<String> ret = usedPropertiesRef.getAndSet(ConcurrentHashMap.newKeySet());
return Collections.unmodifiableSet(new HashSet<>(ret));
return Collections.unmodifiableSet(ret);
}

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

0 comments on commit 29d5b06

Please sign in to comment.