- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for CatchingUnchecked (0.08 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* remove()}, {@code set()}, and {@code add()} calls */ protected void verify(List<E> elements) {} /** Executes the test. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final void test() { try { recurse(0); } catch (Exception e) { // sneaky checked exception throw new RuntimeException(Arrays.toString(stimuli), e);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
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/util/concurrent/SequentialExecutor.java
* will still be present. If the composed Executor is an ExecutorService, it can respond to * shutdown() by returning tasks queued on that Thread after {@link #worker} drains the queue. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private void workOnQueue() { boolean interruptedDuringTask = false; boolean hasSetRunning = false; try { while (true) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
android/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) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* remove()}, {@code set()}, and {@code add()} calls */ protected void verify(List<E> elements) {} /** Executes the test. */ @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public final void test() { try { recurse(0); } catch (Exception e) { // sneaky checked exception throw new RuntimeException(Arrays.toString(stimuli), e);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
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) -
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)