- Sort Score
- Num 10 results
- Language All
Results 1141 - 1150 of 1,450 for SuppressWarnings (0.19 seconds)
-
android/guava/src/com/google/common/io/Closeables.java
* * - If we change the name, some of our callers break because our Android Lint ParameterName check * doesn't make the exception for com.google.common that internal Error Prone does: b/386402967. */ @SuppressWarnings("IdentifierName") public static void close(@Nullable Closeable closeable, boolean swallowIOException) throws IOException { if (closeable == null) { return; } try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/NavigableMapTestSuiteBuilder.java
TestSortedMapGenerator<K, V> generator) { NavigableMapTestSuiteBuilder<K, V> result = new NavigableMapTestSuiteBuilder<>(); result.usingGenerator(generator); return result; } @SuppressWarnings("rawtypes") // class literals @Override protected List<Class<? extends AbstractTester>> getTesters() { List<Class<? extends AbstractTester>> testers = copyToList(super.getTesters());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
private final org.apache.maven.project.ProjectBuilder builder; @Inject public DefaultProjectBuilder(org.apache.maven.project.ProjectBuilder builder) { this.builder = builder; } @SuppressWarnings("MethodLength") @Nonnull @Override public ProjectBuilderResult build(ProjectBuilderRequest request) throws ProjectBuilderException, IllegalArgumentException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Sep 13 09:44:11 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
/** * @throws Exception */ @Test public void testCopy_beanToNewMap_specificClass() throws Exception { final MyBean src = new MyBean(); src.aaa = "aaa"; @SuppressWarnings("unchecked") final Map<String, Object> dest = BeanUtil.copyBeanToNewMap(src, HashMap.class); assertThat(dest.get("aaa"), is((Object) "aaa"));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 34.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.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 MultisetEntrySetTester<E> extends AbstractMultisetTester<E> { @CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_clear() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 9.6K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} catch (ModelInterpolationException e) { return e; } } return null; } @SuppressWarnings({"unchecked", "checkstyle:methodlength"}) private void traverseObjectWithParents(Class<?> cls, Object target) throws ModelInterpolationException { if (cls == null) { return;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 14.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
@Override public Iterator<Integer> iterator() { return asList(0, 1).iterator(); } }; assertEquals(2, Iterables.size(iterable)); } @SuppressWarnings("serial") public void testSize_collection_doesntIterate() { List<Integer> nums = asList(1, 2, 3, 4, 5); List<Integer> collection = new ArrayList<Integer>(nums) { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 47.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.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 AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object> extends AbstractContainerTester<Map<K, V>, Entry<K, V>> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.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 AbstractMultimapTester< K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
* {@code <C extends Comparable<? super C>>}, to support legacy types from before Java 5. * * <p><b>Java 8+ users:</b> use {@link Comparator#naturalOrder} instead. */ @SuppressWarnings({"unchecked", "rawtypes"}) // TODO(kevinb): right way to explain this?? // plus https://github.com/google/guava/issues/989 public static <C extends Comparable> Ordering<C> natural() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0)