- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCopyOf_arrayContainingOnlyNull (1.29 sec)
-
guava-tests/test/com/google/common/collect/ImmutableListTest.java
public void testCopyOf_nullArray() { try { ImmutableList.copyOf((String[]) null); fail(); } catch (NullPointerException expected) { } } public void testCopyOf_arrayContainingOnlyNull() { @Nullable String[] array = new @Nullable String[] {null}; try { ImmutableList.copyOf((String[]) array); fail(); } catch (NullPointerException expected) { } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 23.2K bytes - Viewed (0)