- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for staticOneArgNullableThrowsNPE (0.26 sec)
-
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
public static void staticOneArgCheckForNullThrowsNPE(@javax.annotation.CheckForNull String s) { checkNotNull(s); // doesn't check if you said you'd accept null, but you don't } public static void staticOneArgNullableThrowsNPE(@Nullable String s) { checkNotNull(s); // doesn't check if you said you'd accept null, but you don't } public void oneArgCorrectlyThrowsNpe(String s) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Nov 16 15:12:31 GMT 2023 - 47.9K bytes - Viewed (0)