- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 1,438 for SuppressWarnings (0.1 seconds)
-
guava-tests/test/com/google/common/net/UrlEscaperTesting.java
@NullUnmarked final class UrlEscaperTesting { /** * Helper to assert common expected behaviour of uri escapers. You should call * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'. */ @SuppressWarnings("nullness") // test of a bogus call static void assertBasicUrlEscaperExceptPercent(UnicodeEscaper e) { // URL escapers should throw null pointer exceptions for null input try { e.escape((String) null);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractCompositeHashFunction.java
* {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}. * * @author Dimitris Andreou */ @Immutable abstract class AbstractCompositeHashFunction extends AbstractHashFunction { @SuppressWarnings("Immutable") // array not modified after creation final HashFunction[] functions; AbstractCompositeHashFunction(HashFunction... functions) { for (HashFunction function : functions) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 5.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
} /** * Returns the empty multimap. * * <p><b>Performance note:</b> the instance returned is a singleton. */ // Casting is safe because the multimap will never hold any elements. @SuppressWarnings("unchecked") public static <K, V> ImmutableSetMultimap<K, V> of() { return (ImmutableSetMultimap<K, V>) EmptyImmutableSetMultimap.INSTANCE; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 19 22:57:35 GMT 2026 - 26.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
/** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */ // Casting to any type is safe since there are no actual elements. @SuppressWarnings("unchecked") static <T extends @Nullable Object> UnmodifiableListIterator<T> emptyListIterator() { return (UnmodifiableListIterator<T>) ArrayItr.EMPTY; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
/** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */ // Casting to any type is safe since there are no actual elements. @SuppressWarnings("unchecked") static <T extends @Nullable Object> UnmodifiableListIterator<T> emptyListIterator() { return (UnmodifiableListIterator<T>) ArrayItr.EMPTY; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
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);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/JdkDownloadPlugin.java
repo.content(repositoryContentDescriptor -> repositoryContentDescriptor.includeGroup(groupName(jdk))); }); } } @SuppressWarnings("unchecked") public static NamedDomainObjectContainer<Jdk> getContainer(Project project) { return (NamedDomainObjectContainer<Jdk>) project.getExtensions().getByName(EXTENSION_NAME); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 19:29:10 GMT 2021 - 7.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/lang/FieldUtilTest.java
assertThat(FieldUtil.getValueTypeOfMap(f), is(sameClass(Integer.class))); } /** * */ public static class Baz { /** */ @SuppressWarnings("rawtypes") public Collection collectionOfRawtype; /** */ public Collection<String> collectionOfString; /** */ public Map<String, Integer> map; }
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
public static <E> SetTestSuiteBuilder<E> using(TestSetGenerator<E> generator) { return new SetTestSuiteBuilder<E>().usingGenerator(generator); } @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 - 4.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java
public DefaultArtifactHandler() { this.type = null; } public DefaultArtifactHandler(final String type) { this(type, null, null, null, null, false, null, false); } @SuppressWarnings("checkstyle:ParameterNumber") public DefaultArtifactHandler( final String type, final String extension, final String classifier, final String directory,
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0)