- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testPuttingTheSameKeyTwiceThrowsOnBuild (0.19 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
assertThrows( NullPointerException.class, () -> builder.putAll(Collections.<String, Integer>singletonMap("one", null))); } public void testPuttingTheSameKeyTwiceThrowsOnBuild() { Builder<String, Integer> builder = new Builder<String, Integer>() .put("one", 1) .put("one", 1); // throwing on this line might be better but it's too late to change
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0)