- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 1,150 for SuppressWarnings (0.19 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
int nextIndex(int index) { return (index + 1 < size) ? index + 1 : -1; } int nextIndexAfterRemove(int oldNextIndex, @SuppressWarnings("unused") int removedIndex) { return oldNextIndex - 1; } int size() { return size; } @SuppressWarnings("unchecked") @ParametricNullness K getKey(int index) { checkElementIndex(index, size); return (K) keys[index]; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 17.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.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 ListMultimapPutTester<K, V> extends AbstractListMultimapTester<K, V> { // MultimapPutTester tests non-duplicate values, but ignores ordering @MapFeature.Require(SUPPORTS_PUT)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
List<String> elements = project.getCompileClasspathElements(); assertEquals(2, elements.size()); @SuppressWarnings("deprecation") List<Artifact> artifacts = project.getCompileArtifacts(); assertEquals(1, artifacts.size()); assertTrue(artifacts.get(0).getFile().getName().endsWith("tools.jar")); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
factoryField.set(null, null); // Clear the protocol handlers cache Field handlersField = Handler.class.getDeclaredField("PROTOCOL_HANDLERS"); handlersField.setAccessible(true); @SuppressWarnings("unchecked") Map<String, URLStreamHandler> handlers = (Map<String, URLStreamHandler>) handlersField.get(null); handlers.clear(); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/ListFeature.java
import java.lang.annotation.RetentionPolicy; import java.util.List; import java.util.Set; /** * Optional features of classes derived from {@code List}. * * @author George van den Driessche */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum ListFeature implements Feature<List> { SUPPORTS_SET, SUPPORTS_ADD_WITH_INDEX(CollectionFeature.SUPPORTS_ADD),Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountUnconditionallyTester.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 MultisetSetCountUnconditionallyTester<E> extends AbstractMultisetSetCountTester<E> { @Override void setCountCheckReturnValue(E element, int count) { assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
/** * Unit test for {@link ForwardingListMultimap}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class ForwardingListMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( ListMultimap.class, new Function<ListMultimap, ListMultimap<?, ?>>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
/** * Unit test for {@link ForwardingListMultimap}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class ForwardingListMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( ListMultimap.class, new Function<ListMultimap, ListMultimap<?, ?>>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java
/** * Unit test for {@link ForwardingSetMultimap}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class ForwardingSetMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( SetMultimap.class, new Function<SetMultimap, SetMultimap<?, ?>>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.9K bytes - Click Count (0)