- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 48 for suppress (0.04 seconds)
-
android/guava-tests/test/com/google/common/io/CloserTest.java
private final List<Suppression> suppressions = new ArrayList<>(); @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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/CloserTest.java
private final List<Suppression> suppressions = new ArrayList<>(); @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;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
Do not suppress NullAway errors without a justification. Prefer rearranging the code to avoid the error, unless there is a provable performance penalty or a significant loss of code readability. Use `Objects.requireNonNull` statement or `Preconditions` rather than `assert` or `@SuppressWarning` annotation to suppress if possible. For gradual adoption, enable checks project-by-project.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension @Suppress("UsePropertyAccessSyntax") @Timeout(6) @Tag("slow") @Burst class SocketChannelTest { @JvmField @RegisterExtension val platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule =Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
) } private fun findLatest(name: String, notation: String, dest: Properties) { val libDependencies = arrayOf(project.dependencies.create(notation)) @Suppress("SpreadOperator") val templateVersionConfiguration = project.configurations.detachedConfiguration(*libDependencies) templateVersionConfiguration.resolutionStrategy.componentSelection.all {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Nov 24 20:45:41 GMT 2025 - 5K bytes - Click Count (0) -
build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts
}) } fun configureSourcesVariant() { java { withSourcesJar() } // TODO: This should not be necessary anymore now that we have variant reselection. @Suppress("UnusedPrivateProperty") val transitiveSourcesElements by configurations.creating { isCanBeResolved = false isCanBeConsumed = true extendsFrom(configurations.implementation.get())
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Dec 19 06:44:41 GMT 2025 - 18.9K bytes - Click Count (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
import org.junit.jupiter.api.extension.RegisterExtension import org.opentest4j.TestAbortedException @Tag("Slow") class OkHttpTest { @Suppress("RedundantVisibilityModifier") @JvmField @RegisterExtension public val platform = PlatformRule() @Suppress("RedundantVisibilityModifier") @JvmField @RegisterExtension public val clientTestRule = OkHttpClientTestRule().apply {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 29.9K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
it.incoming.artifacts } } } } @Suppress("UnstableApiUsage") fun addErrorProneDependency(dep: String) { project.dependencies.addProvider( annotationProcessorConfigurationName,Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 01 11:57:43 GMT 2025 - 9.3K bytes - Click Count (0) -
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 {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 10.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
} /** * Returns the {@link Method} instance for {@link #testToArray_isPlainObjectArray()} so that tests * of {@link Arrays#asList(Object[])} can suppress it with {@code * FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-6260652">JDK-6260652</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflectionCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 8.2K bytes - Click Count (0)