- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 1,145 for SuppressWarnings (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.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 CollectionIsEmptyTester<E> extends AbstractCollectionTester<E> { @CollectionSize.Require(ZERO) public void testIsEmpty_yes() {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/graph/InvalidatableSetTest.java
copyOfWrappedSet = ImmutableSet.copyOf(wrappedSet); setToTest = InvalidatableSet.of(wrappedSet, () -> wrappedSet.contains(1), () -> 1 + "is not present"); } @Test @SuppressWarnings("TruthSelfEquals") public void testEquals() { // sanity check on construction of copyOfWrappedSet assertThat(wrappedSet).isEqualTo(copyOfWrappedSet); // test that setToTest is still validCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapReplaceValuesTester.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 ListMultimapReplaceValuesTester<K, V> extends AbstractListMultimapTester<K, V> { @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE}) public void testReplaceValuesPreservesOrder() {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) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapFeature.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Set; /** * Optional features of classes derived from {@code Multimap}. * * @author Louis Wasserman */ @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package? @GwtCompatible public enum MultimapFeature implements Feature<Multimap> { VALUE_COLLECTIONS_SUPPORT_ITERATOR_REMOVE;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 30 16:59:10 GMT 2025 - 1.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
} @SuppressWarnings("unchecked") ImmutableList<ListenableFuture<T>> delegatesCast = (ImmutableList) delegates; return delegatesCast; } /** Can't use Iterables.toArray because it's not gwt compatible */ @SuppressWarnings("unchecked") private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K 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/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) -
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)