- Sort Score
- Result 10 results
- Languages All
Results 871 - 880 of 1,105 for SuppressWarnings (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.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 ListSetTester<E> extends AbstractListTester<E> { @ListFeature.Require(SUPPORTS_SET) @CollectionSize.Require(absent = ZERO) public void testSet() { doTestSet(e3());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/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); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java
private final String version; private final String classifier; private final String extension; private final String type; @SuppressWarnings("checkstyle:ParameterNumber") DefaultArtifactFactoryRequest( @Nonnull Session session, @Nullable RequestTrace trace, String groupId,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 7.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
assertEquals(SOME_COLLECTION, list); } public void testNewLinkedListEmpty() { @SuppressWarnings("UseCollectionConstructor") // test of factory method LinkedList<Integer> list = Lists.newLinkedList(); assertEquals(emptyList(), list); } public void testNewLinkedListFromCollection() { @SuppressWarnings("UseCollectionConstructor") // test of factory method
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
* your own escapers extend this class and implement the {@link #escape(char)} method. * * @author Sven Mawson * @since 15.0 */ @GwtCompatible @SuppressWarnings("EscapedEntity") // We do mean for the user to see "<" etc. public abstract class CharEscaper extends Escaper { /** Constructor for use by subclasses. */ protected CharEscaper() {} /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link PeekingIterator}. * * @author Mick Killianey */ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatible @NullMarked public class PeekingIteratorTest extends TestCase { /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
throw new UnsupportedOperationException(); } @SuppressWarnings("unchecked") @Override public boolean remove(@Nullable Object key, @Nullable Object value) { return get((K) key).remove(value); } @SuppressWarnings("unchecked") @Override public Collection<V2> removeAll(@Nullable Object key) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 86.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsCollectionTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 32.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java
} private SimpleProblemCollector validateRaw(String pom) throws Exception { return validateRaw(pom, UnaryOperator.identity()); } @SuppressWarnings("SameParameterValue") private SimpleProblemCollector validateEffective(String pom, int level) throws Exception { return validateEffective(pom, mbr -> mbr.setValidationLevel(level)); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 33.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.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 MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMultimapTester<K, V, Multimap<K, V>> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 7.3K bytes - Viewed (0)