Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Suppress (0.18 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testSubList_originalListSetAffectsSubList()} so
       * that tests of {@link CopyOnWriteArrayList} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570631">Sun bug 6570631</a> is fixed.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_nullCollectionReferenceEmptySubject() {
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/Closer.java

         */
        void suppress(Closeable closeable, Throwable thrown, Throwable suppressed);
      }
    
      /** Suppresses exceptions by logging them. */
      @VisibleForTesting
      static final class LoggingSuppressor implements Suppressor {
    
        static final LoggingSuppressor INSTANCE = new LoggingSuppressor();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/CloserTest.java

        private final List<Suppression> suppressions = Lists.newArrayList();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
        private final Throwable thrown;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testSubList_originalListSetAffectsSubList()} so
       * that tests of {@link CopyOnWriteArrayList} can suppress them with {@code
       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6570631">Sun bug 6570631</a> is fixed.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_nullCollectionReferenceEmptySubject() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      Object writeReplace() {
        return super.writeReplace();
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      @J2ktIncompatible // serialization
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      // DoNotCall wants this to be final, but we want to override it to return more specific types.
      // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress.
      @SuppressWarnings("DoNotCall")
      public ImmutableCollection<V> removeAll(@CheckForNull Object key) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableMultimap.java

      // DoNotCall wants this to be final, but we want to override it to return more specific types.
      // Inheritance is closed, and all subtypes are @DoNotCall, so this is safe to suppress.
      @SuppressWarnings("DoNotCall")
      public ImmutableCollection<V> removeAll(@CheckForNull Object key) {
        throw new UnsupportedOperationException();
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 25.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/TempFileCreator.java

             * unavailable. But given how much other reflection we're using, we might as well use it
             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
             */
    
            Method currentMethod = processHandleClass.getMethod("current");
            Method infoMethod = processHandleClass.getMethod("info");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
Back to top