- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 985 for SuppressWarnings (0.05 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.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 MultimapContainsValueTester<K, V> extends AbstractMultimapTester<K, V, Multimap<K, V>> { @CollectionSize.Require(absent = ZERO) public void testContainsValueYes() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
hash = hash * 24943 + elementEquivalence.hash(element); } return hash; } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof PairwiseEquivalence) { @SuppressWarnings("unchecked") PairwiseEquivalence<Object, Object> that = (PairwiseEquivalence<Object, Object>) obj; return this.elementEquivalence.equals(that.elementEquivalence); } return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
Crawler.addError(errorMsg); try { Field errorsField = Crawler.class.getDeclaredField("errors"); errorsField.setAccessible(true); @SuppressWarnings("unchecked") Queue<String> errors = (Queue<String>) errorsField.get(null); assertTrue(errors.contains(errorMsg)); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapGetTester.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 SortedSetMultimapGetTester<K, V> extends AbstractMultimapTester<K, V, SortedSetMultimap<K, V>> { public void testValueComparator() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MyTester.java
* annotations even on JUnit 3 tests. * * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably * soon won't be. */ @SuppressWarnings("JUnit4ClassUsedInJUnit3") @Ignore public final class MyTester extends AbstractTester<@Nullable Void> { static int timesTestClassWasRun = 0; public void testNothing() { timesTestClassWasRun++; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java
/** * Methods factored out so that they can be emulated differently in GWT. * * @author Chris Povirk */ final class Platform { /** Serializes and deserializes the specified object (a no-op under GWT). */ @SuppressWarnings("unchecked") static <T> T reserialize(T object) { return checkNotNull(object); } private Platform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
* "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multiset">{@code Multiset}</a>. * * @author Jared Levy * @since 2.0 */ @GwtCompatible @J2ktIncompatible @SuppressWarnings("EnumOrdinal") // This is one of the low-level utilities where it's suitable. public final class EnumMultiset<E extends Enum<E>> extends AbstractMultiset<E> implements Serializable {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.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 AbstractMultisetTester<E> extends AbstractCollectionTester<E> { protected final Multiset<E> getMultiset() { return (Multiset<E>) collection; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
request.setMirrors(session.getRequest().getMirrors()); request.setProxies(session.getRequest().getProxies()); } } @Override @SuppressWarnings("checkstyle:parameternumber") public ArtifactResolutionResult collect( Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 36.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingDequeTest.java
import org.jspecify.annotations.NullUnmarked; /** * Tests for {@code ForwardingDeque}. * * @author Kurt Alfred Kluever */ @NullUnmarked public class ForwardingDequeTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() { new ForwardingWrapperTester() .testForwarding( Deque.class, new Function<Deque, Deque<?>>() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.5K bytes - Viewed (0)