- Sort Score
- Result 10 results
- Languages All
Results 811 - 820 of 1,105 for SuppressWarnings (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/RangeTest.java
Cut<Integer> e = Range.greaterThan(1).lowerBound; Cut<Integer> f = Range.greaterThan(1).upperBound; testCompareToAndEquals(ImmutableList.of(a, b, c, d, e, f)); } @SuppressWarnings("DistinctVarargsChecker") public void testContainsAll() { Range<Integer> range = Range.closed(3, 5); assertTrue(range.containsAll(asList(3, 3, 4, 5))); assertFalse(range.containsAll(asList(3, 3, 4, 5, 6)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.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 CollectionToArrayTester<E> extends AbstractCollectionTester<E> { public void testToArray_noArgs() { Object[] array = collection.toArray();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 8.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java
private final PomBuilder builder; @Inject ConsumerPomArtifactTransformer(PomBuilder builder) { this.builder = builder; } @SuppressWarnings("deprecation") @Override public void injectTransformedArtifacts(RepositorySystemSession session, MavenProject project) throws IOException { if (project.getFile() == null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 8.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java
/** * Test to verify that repositories from one project don't leak to sibling projects. */ @PlexusTest public class RepositoryLeakageTest extends AbstractMavenProjectTestCase { @Test @SuppressWarnings("checkstyle:MethodLength") public void testRepositoryLeakageBetweenSiblings() throws Exception { // Create a temporary directory structure for our test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportExceptionTest.java
assertNull(bothNullException.getMessage()); assertNull(bothNullException.getCause()); } @Test @DisplayName("Test deprecated getRootCause method returns the same as getCause") @SuppressWarnings("deprecation") public void testGetRootCause() { // Test with no cause TransportException noCauseException = new TransportException("No cause"); assertNull(noCauseException.getRootCause());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
public static <K, V> BiMapTestSuiteBuilder<K, V> using(TestBiMapGenerator<K, V> generator) { return new BiMapTestSuiteBuilder<K, V>().usingGenerator(generator); } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = new ArrayList<>(); testers.add(BiMapEntrySetTester.class);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.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 MultimapGetTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { public void testGetEmpty() { Collection<V> result = multimap().get(k3()); assertEmpty(result);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.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") @NullMarked public class CollectionIteratorTester<E extends @Nullable Object> extends AbstractCollectionTester<E> { public void testIterator() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; /** * Test suite covering {@link Ints#asList(int[])}. * * @author Kevin Bourrillion */ @GwtCompatible @SuppressWarnings("cast") // redundant casts are intentional and harmless @NullUnmarked @AndroidIncompatible // test-suite builders public class IntArrayAsListTest extends TestCase {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
*/ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"}) static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) { return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0)