- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 1,450 for SuppressWarnings (0.11 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.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 abstract class AbstractBiMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractMapTester<K, V> { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.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 CollectionToStringTester<E> extends AbstractCollectionTester<E> { public void testToString_minimal() { assertNotNull("toString() should not return null", collection.toString());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionToStringTester.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 CollectionToStringTester<E> extends AbstractCollectionTester<E> { public void testToString_minimal() { assertNotNull("toString() should not return null", collection.toString());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Predicates.java
* representations and are not serializable. * * @param target the collection that may contain the function input */ @SuppressWarnings("NoHardKeywords") // We're stuck with the name for compatibility reasons. public static <T extends @Nullable Object> Predicate<T> in(Collection<? extends T> target) { return new InPredicate<>(target); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.6K bytes - Click Count (0) -
android/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) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
} return; } } fail( rootLocaleFormat( "Feature enum %s should contain an annotation named 'Require'.", featureEnumClass)); } @SuppressWarnings("unchecked") private static Class<? extends Annotation> asAnnotation(Class<?> clazz) { if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
return Collections.emptyMap(); } @Override public Metadata setProperties(Map<String, String> properties) { return this; } @SuppressWarnings("deprecation") static class MetadataRepository extends DefaultArtifactRepository { private File metadataFile; MetadataRepository(File metadataFile) { super("local", "", null);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
* for bridge methods. */ // We use an anonymous class to be sure that we generate two methods (bridge and original). @SuppressWarnings("AnonymousToLambda") public void testRegistrationWithBridgeMethod() { AtomicInteger calls = new AtomicInteger(); bus.register( new Callback<String>() { @Subscribe @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
* for bridge methods. */ // We use an anonymous class to be sure that we generate two methods (bridge and original). @SuppressWarnings("AnonymousToLambda") public void testRegistrationWithBridgeMethod() { AtomicInteger calls = new AtomicInteger(); bus.register( new Callback<String>() { @Subscribe @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
* * @param <T> The target type. * @param field The field value from OpenSearch. * @param clazz The target class. * @return The converted field value. */ @SuppressWarnings("unchecked") private <T> T getFieldValue(final Object field, final Class<T> clazz) { if (field == null) { return null; } if (clazz.equals(Integer.class)) {Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 11.1K bytes - Click Count (0)