Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 140 for suppression (0.08 seconds)

  1. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     * I'm not completely sure that this is the right choice, but it has various advantages:
     *
     * <ul>
     *   <li>An annotation named just "Suppress" might someday be treated by a non-Android tool as a
     *       suppression. This would follow the precedent of many of our annotation processors, which
     *       look for any annotation named, e.g., "GwtIncompatible," regardless of package.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/resources/checkstyle.xml

          <property name="message" value="References java.io.Serializable." />
          <property name="ignoreComments" value="true" />
        </module>
        <!-- end Orwellian suppression of Serializable -->
    
        <!-- Forbid equality comparisons with `true` -->
        <module name="DescendantToken">
          <property name="id" value="EqualityWithTrue" />
          <property name="tokens" value="EQUAL" />
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

            "InjectOnConstructorOfAbstractClass", // We use abstract injection as a pattern
            "InlineMeSuggester", // Only suppression seems to actually "fix" this, so make it global
            "JavaUtilDate", // We are fine with using Date
            "JavaxInjectOnAbstractMethod", // We use abstract injection as a pattern
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:47:14 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       * test, or to keep dependent builds clean in spite of an erroneous test.
       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
        return suppressing(asList(methods));
      }
    
      @CanIgnoreReturnValue
      public B suppressing(Collection<Method> methods) {
        suppressedTests.addAll(methods);
        return self();
      }
    
      public Set<Method> getSuppressedTests() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

       * test, or to keep dependent builds clean in spite of an erroneous test.
       */
      @CanIgnoreReturnValue
      public B suppressing(Method... methods) {
        return suppressing(asList(methods));
      }
    
      @CanIgnoreReturnValue
      public B suppressing(Collection<Method> methods) {
        suppressedTests.addAll(methods);
        return self();
      }
    
      public Set<Method> getSuppressedTests() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

      public final Object[] toArray() {
        return toArray(EMPTY_ARRAY);
      }
    
      @CanIgnoreReturnValue
      @Override
      /*
       * This suppression is here for two reasons:
       *
       * 1. b/192354773 in our checker affects toArray declarations.
       *
       * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

            ValuesImpl() {
              super(AsMap.this);
            }
    
            @Override
            /*
             * For discussion of equality in Multimap value collections, see the suppression for
             * UndefinedEquals in AbstractMapBasedMultimap.
             */
            @SuppressWarnings("UndefinedEquals")
            public boolean remove(@Nullable Object o) {
              if (o instanceof Collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

      public final Object[] toArray() {
        return toArray(EMPTY_ARRAY);
      }
    
      @CanIgnoreReturnValue
      @Override
      /*
       * This suppression is here for two reasons:
       *
       * 1. b/192354773 in our checker affects toArray declarations.
       *
       * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Closer.java

      }
    
      @VisibleForTesting final Suppressor suppressor;
    
      // only need space for 2 elements in most cases, so try to use the smallest array possible
      private final Deque<Closeable> stack = new ArrayDeque<>(4);
      private @Nullable Throwable thrown;
    
      @VisibleForTesting
      Closer(Suppressor suppressor) {
        this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/FilteredEntryMultimap.java

            ValuesImpl() {
              super(AsMap.this);
            }
    
            @Override
            /*
             * For discussion of equality in Multimap value collections, see the suppression for
             * UndefinedEquals in AbstractMapBasedMultimap.
             */
            @SuppressWarnings("UndefinedEquals")
            public boolean remove(@Nullable Object o) {
              if (o instanceof Collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top