- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 1,140 for SuppressWarnings (0.08 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
setImplementation(ThreadFactory.class, Dummies.DummyThreadFactory.class); setImplementation(Executor.class, Dummies.DummyExecutor.class); } @SuppressWarnings("unchecked") // it's a subtype map private static <T> @Nullable Class<? extends T> getImplementation(Class<T> type) { return (Class<? extends T>) implementations.get(type); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/BadWordService.java
// search } /** * Imports bad words from a CSV file. * @param reader The reader for the CSV data. */ public void importCsv(final Reader reader) { @SuppressWarnings("resource") final CsvReader csvReader = new CsvReader(reader, new CsvConfig()); try { List<String> list; csvReader.readValues(); // ignore headerCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
} // Split out so that the anonymous ThreadFactory can't contain a reference back to the builder. // At least, I assume that's why. TODO(cpovirk): Check, and maybe add a test for this. @SuppressWarnings("ThreadPriorityCheck") // We only propagate user requests (which we discourage). private static ThreadFactory doBuild(ThreadFactoryBuilder builder) { String nameFormat = builder.nameFormat;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.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 ListRemoveTester<E> extends AbstractListTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(absent = {ZERO, ONE}) public void testRemove_duplicate() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.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 SetAddTester<E> extends AbstractSetTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedPresent() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
List<Class<?>> interfaces = new ArrayList<>(Arrays.asList(forwarderClass.getInterfaces())); // Desugaring may introduce AutoCloseable as an extra interface. interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces); new ForwardingWrapperTester() .testForwarding( interfaceType,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/SetMultimapPutTester.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 SetMultimapPutTester<K, V> extends AbstractMultimapTester<K, V, SetMultimap<K, V>> { // Tests for non-duplicate values are in MultimapPutTester @MapFeature.Require(SUPPORTS_PUT)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
List<Class<?>> interfaces = new ArrayList<>(Arrays.asList(forwarderClass.getInterfaces())); // Desugaring may introduce AutoCloseable as an extra interface. interfaces.remove(AutoCloseable.class); @SuppressWarnings("unchecked") // super interface type of T Class<? super T> interfaceType = (Class<? super T>) Iterables.getOnlyElement(interfaces); new ForwardingWrapperTester() .testForwarding( interfaceType,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
@Override public String[] createKeyArray(int length) { return new String[length]; } @SuppressWarnings("unchecked") @Override public Collection<String>[] createValueArray(int length) { return (Collection<String>[]) new Collection<?>[length]; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
* * @author Jared Levy * @since 10.0 */ // We explicitly list `implements Table<...>` so that its `@Nullable V` appears in Javadoc. @SuppressWarnings("RedundancyRemover") @GwtCompatible public final class ArrayTable<R, C, V> extends AbstractTable<R, C, @Nullable V> implements Table<R, C, @Nullable V>, Serializable { /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0)