- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for CatchingUnchecked (0.54 sec)
-
guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
this.inputFuture = checkNotNull(inputFuture); this.function = checkNotNull(function); } @Override @SuppressWarnings({ "CatchingUnchecked", // sneaky checked exception "nullness", // TODO(b/147136275): Remove once our checker understands & and |. }) public final void run() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
} /** * Submits the given runnable to the given {@link Executor} catching and logging all {@linkplain * RuntimeException runtime exceptions} thrown by the executor. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void executeListener(Runnable runnable, Executor executor) { try { executor.execute(runnable); } catch (Exception e) { // sneaky checked exception
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private final Adder adder; FailsToPropagateException(Adder adder) { this.adder = adder; } @Override @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public int add(int a, int b) { try { return adder.add(a, b); } catch (Exception e) { // sneaky checked exception // swallow! return 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java
this.inputFuture = checkNotNull(inputFuture); this.function = checkNotNull(function); } @Override @SuppressWarnings({ "CatchingUnchecked", // sneaky checked exception "nullness", // TODO(b/147136275): Remove once our checker understands & and |. }) public final void run() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 20 18:03:37 UTC 2025 - 10.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* parameter, or if the constructor or factory method throws exception. * * @return this tester */ @CanIgnoreReturnValue @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public FactoryMethodReturnValueTester testSerializable() throws Exception { for (Invokable<?, ?> factory : getFactoriesToTest()) { Object instance = instantiate(factory);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
public final void setAccessible(boolean flag) { accessibleObject.setAccessible(flag); } /** See {@link java.lang.reflect.AccessibleObject#trySetAccessible()}. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final boolean trySetAccessible() { // We can't call accessibleObject.trySetAccessible since that was added in Java 9 and this code
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
protected Map<K, V> makeEitherMap() { try { return makePopulatedMap(); } catch (UnsupportedOperationException e) { return makeEmptyMap(); } } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception protected final boolean supportsValuesHashCode(Map<K, V> map) { // get the first non-null value Collection<V> values = map.values(); for (V value : values) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
public static DoubleStream stream(OptionalDouble optional) { return optional.isPresent() ? DoubleStream.of(optional.getAsDouble()) : DoubleStream.empty(); } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static void closeAll(BaseStream<?, ?>[] toClose) { // If one of the streams throws an exception, continue closing the others, then throw the
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* appear to be a BloomFilter serialized using the {@linkplain #writeTo(OutputStream)} method. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public static <T extends @Nullable Object> BloomFilter<T> readFrom( InputStream in, Funnel<? super T> funnel) throws IOException { checkNotNull(in, "InputStream");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0)