Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ public boolean containsKey(Object key) {

@Override
public Set<String> keySet() {
return value.keySet();
return Collections.unmodifiableSet(value.keySet());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,8 @@ class ConfigValueTest extends TestUtils {
unsupported { m.put("hello", intValue(42)) }
unsupported { m.putAll(Collections.emptyMap[String, AbstractConfigValue]()) }
unsupported { m.remove("a") }
unsupported { m.keySet().remove("a") }
unsupported { m.keySet().clear() }
}

@Test
Expand Down