Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for oneArgCheckForNullCorrectlyDoesNotThrowNPE (0.31 sec)

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

          throw new FooException(); // should catch as failure
        }
    
        public void oneArgShouldThrowNpeButDoesnt(String s) {
          // should catch as failure
        }
    
        public void oneArgCheckForNullCorrectlyDoesNotThrowNPE(
            @javax.annotation.CheckForNull String s) {
          // null?  no problem
        }
    
        public void oneArgNullableCorrectlyDoesNotThrowNPE(@Nullable String s) {
          // null?  no problem
    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)
Back to top