Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 64 for suppression (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test protected constructor with suppression enabled
            String message = "Test with suppression";
            TestFessSystemException exception = new TestFessSystemException(message, true, true);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Test that suppression is enabled
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

        @Test
        public void test_suppressionAndStackTrace() {
            // Test that suppression and stack trace are disabled (as per constructor)
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            // Verify that suppression is disabled
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/FessSystemException.java

            super(cause);
        }
    
        /**
         * Constructs a new FessSystemException with the specified detail message and suppression settings.
         *
         * @param message the detail message describing the exception
         * @param enableSuppression whether suppression is enabled or disabled
         * @param writableStackTrace whether the stack trace should be writable
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/NullnessCasts.java

       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/NullnessCasts.java

       * typically useful for {@code return} statements. That leaves the code with two options: Either
       * add the suppression to the whole method (which turns off checking for a large section of code),
       * or extract a variable, and put the suppression on that. However, a local variable typically
       * doesn't work: Because nullness analyses typically infer the nullness of local variables,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/LegacyComparable.java

     * that support Java 1.4 and before. Our library needs to do the bare minimum to accommodate such
     * types, though their use may still require an explicit type parameter and/or warning suppression.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings({"ComparableType", "rawtypes"}) // https://github.com/google/guava/issues/989
    @GwtCompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableSet.java

          }
        }
      }
    
      @Override
      public int size() {
        return size;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
        return asList().iterator();
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java

            // Comprehensive test to verify all methods return expected values
            FessJsonResourceProvider testProvider = new FessJsonResourceProvider();
    
            // Verify nulls suppression is enabled
            assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed());
    
            // Verify pretty print is enabled
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.1K bytes
    - Click Count (0)
Back to Top