Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for staticOneArgCheckForNullCorrectlyThrowsOtherThanNpe (0.24 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          // null?  no problem
        }
    
        public static void staticOneArgNullableCorrectlyDoesNotThrowNpe(@Nullable String s) {
          // null?  no problem
        }
    
        public static void staticOneArgCheckForNullCorrectlyThrowsOtherThanNpe(@CheckForNull String s) {
          throw new FooException(); // ok, as long as it's not NullPointerException
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top