- Sort Score
- Result 10 results
- Languages All
Results 741 - 750 of 969 for SuppressWarnings (0.06 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.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 MultisetElementSetTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) public void testElementSetReflectsAddAbsent() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java
int k = 20; return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n)); } } /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */ @SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion. private static BigInteger oldSlowFactorial(int n1, int n2) { assert n1 <= n2; if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntrySet.java
} @Override ImmutableList<Entry<K, V>> createAsList() { return new RegularImmutableAsList<>(this, entries); } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } } ImmutableMapEntrySet() {}Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java
assertNotNull(response); assertEquals(3, response.getNumberOfInputDocs()); assertFalse(response.hasError()); } @Test @SuppressWarnings("unchecked") public void test_indexFromDocument() throws Exception { SuggestSettings settings = suggester.settings(); String field = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0];Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 28.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
} /** * Returns the empty bimap. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting to any type is safe because the set will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableBiMap<K, V> of() { return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY; } /** Returns an immutable bimap containing a single entry. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K 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)