- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for Suppression (0.12 sec)
-
android/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 @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSet.java
} } } @Override public int size() { return elements.length; } // 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 (UnmodifiableIterator<E>) Iterators.forArray(elements); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.9K bytes - Viewed (0) -
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.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 07 15:40:13 UTC 2023 - 3.9K bytes - Viewed (0) -
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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/io/Closer.java
throwIfInstanceOf(throwable, IOException.class); throwIfUnchecked(throwable); throw new AssertionError(throwable); // not possible } } /** Suppression strategy interface. */ @VisibleForTesting interface Suppressor { /** * Suppresses the given exception ({@code suppressed}) which was thrown when attempting to close
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
throwIfInstanceOf(throwable, IOException.class); throwIfUnchecked(throwable); throw new AssertionError(throwable); // not possible } } /** Suppression strategy interface. */ @VisibleForTesting interface Suppressor { /** * Suppresses the given exception ({@code suppressed}) which was thrown when attempting to close
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
resource.Namespace(ctx.IstioNamespace()), nil) // Check for suppressions and add them to our SourceAnalyzer suppressions := make([]local.AnalysisSuppression, 0, len(suppress)) for _, s := range suppress { parts := strings.Split(s, "=") if len(parts) != 2 { return fmt.Errorf("%s is not a valid suppression value. See istioctl analyze --help", s) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
private static final class FailedService extends Throwable { FailedService(Service service) { super( service.toString(), service.failureCause(), false /* don't enable suppression */, false /* don't calculate a stack trace. */); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 33.5K bytes - Viewed (0)