- Sort Score
- Num 10 results
- Language All
Results 931 - 940 of 1,438 for SuppressWarnings (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* anyone from calling {@link #initCause} later, so it is not quite equivalent to using a * constructor that omits the cause. */ @SuppressWarnings("InlineMeSuggester") // b/387265535 @Deprecated protected UncheckedExecutionException(@Nullable String message) { super(message); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.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 MapComputeIfAbsentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfAbsent_supportedAbsent() { assertEquals(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.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 MapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
} /** * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder * changes. */ @Test @SuppressWarnings("CheckReturnValue") public void immutableValueGraphBuilder_copiesGraphBuilder() { ValueGraphBuilder<String, Object> graphBuilder = ValueGraphBuilder.directed() .allowsSelfLoops(true)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
verify(primitiveSink).putLong(1234); } public void testForLongs_null() { assertNullsThrowException(longFunnel()); } public void testSequential() { @SuppressWarnings({"unchecked", "DoNotMock"}) Funnel<Object> elementFunnel = mock(Funnel.class); PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnel<Iterable<?>> sequential = sequentialFunnel(elementFunnel);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Range.java
* * @author Kevin Bourrillion * @author Gregory Kick * @since 10.0 */ @GwtCompatible @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @Immutable(containerOf = "C") public final class Range<C extends Comparable> implements Predicate<C>, Serializable { @SuppressWarnings("unchecked") static <C extends Comparable<?>> Ordering<Range<C>> rangeLexOrdering() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 28.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
import org.jspecify.annotations.Nullable; /** * Static utility methods pertaining to object arrays. * * @author Kevin Bourrillion * @since 2.0 */ @GwtCompatible @SuppressWarnings("AvoidObjectArrays") public final class ObjectArrays { private ObjectArrays() {} /** * Returns a new array of the given length with the specified component type. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 9.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/MethodUtil.java
* @throws InvocationTargetRuntimeException * If the underlying method throws an exception * @see Method#invoke(Object, Object[]) */ @SuppressWarnings("unchecked") public static <T> T invoke(final Method method, final Object target, final Object... args) throws InvocationTargetRuntimeException, IllegalAccessRuntimeException {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java
public static <E> ListTestSuiteBuilder<E> using(TestListGenerator<E> generator) { return new ListTestSuiteBuilder<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 - 6.4K bytes - Click Count (0) -
build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt
java.net.InetAddress#getHostAddress() java.net.Inet4Address#getHostAddress() java.net.Inet6Address#getHostAddress() java.net.InetSocketAddress#toString() @defaultMessage avoid DNS lookups by accident: if you have a valid reason, then @SuppressWarnings with that reason so its completely clear java.net.InetAddress#getHostName() java.net.InetAddress#getCanonicalHostName() java.net.InetSocketAddress#getHostName() @ Use getHostString() instead, which avoids a DNS lookup
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.8K bytes - Click Count (0)