- Sort Score
- Num 10 results
- Language All
Results 901 - 910 of 1,438 for SuppressWarnings (0.07 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
public static <E> ListTestSuiteBuilder<E> using(TestListGenerator<E> generator) { return new ListTestSuiteBuilder<E>().usingGenerator(generator); } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
System.out.println("logger:" + logger); } /** * Test method for * {@link org.codelibs.core.log.Logger#format(String, Object...)} . */ @SuppressWarnings("static-access") @Test public void testFormat() { exception.expect(ClIllegalArgumentException.class);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
assertTrue(toTest, toTest.matches(".*\\{\\}")); } @GwtIncompatible // Class names are obfuscated in GWT public void testToStringHelper_localInnerNestedClass() { class LocalInnerClass { @SuppressWarnings("ClassCanBeStatic") // We want to test an inner class. class LocalInnerNestedClass {} } String toTest = MoreObjects.toStringHelper(new LocalInnerClass().new LocalInnerNestedClass()).toString();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 22K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
*/ @GwtCompatible @NullMarked public class MultimapsTest extends TestCase { private static final Comparator<Integer> INT_COMPARATOR = Ordering.<Integer>natural().reverse().nullsFirst(); @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method public void testUnmodifiableListMultimapShortCircuit() { ListMultimap<String, Integer> mod = ArrayListMultimap.create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 39.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetAddTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddUnsupported() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/management/DefaultPluginManagementInjector.java
import org.apache.maven.model.merge.MavenModelMerger; /** * Handles injection of plugin management into the model. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @SuppressWarnings({"checkstyle:methodname"}) @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultPluginManagementInjector implements PluginManagementInjector {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListMultimapRemoveTester<K, V> extends AbstractListMultimapTester<K, V> { @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MultisetElementSetTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) public void testElementSetReflectsAddAbsent() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
*/ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @IgnoreJRERequirement // We opt into library desugaring for our tests. public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
try { result = supplier.get(); } catch (Throwable t) { if (predicate.apply(t)) { // We are careful to set up INSTANCE_OF to match each Predicate to its target Class. @SuppressWarnings("unchecked") T caught = (T) t; return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0)