- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 1,450 for SuppressWarnings (0.5 seconds)
-
guava/src/com/google/common/base/Objects.java
* equals()} contract. * * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use {@link * java.util.Objects#equals} instead. */ @SuppressWarnings("InlineMeSuggester") // would introduce fully qualified references to Objects public static boolean equal(@Nullable Object a, @Nullable Object b) { return java.util.Objects.equals(a, b); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 28 22:51:26 GMT 2025 - 3.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
} @SuppressWarnings("FuturesGetCheckedIllegalExceptionType") public void testGetCheckedUntimed_exceptionClassNoPublicConstructor() throws ExceptionWithPrivateConstructor { assertThrows( IllegalArgumentException.class, () -> getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithPrivateConstructor.class)); } @SuppressWarnings("FuturesGetCheckedIllegalExceptionType")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java
} @SuppressWarnings("FuturesGetCheckedIllegalExceptionType") public void testGetCheckedUntimed_exceptionClassNoPublicConstructor() throws ExceptionWithPrivateConstructor { assertThrows( IllegalArgumentException.class, () -> getChecked(FAILED_FUTURE_CHECKED_EXCEPTION, ExceptionWithPrivateConstructor.class)); } @SuppressWarnings("FuturesGetCheckedIllegalExceptionType")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.5K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
private List<ArtifactRepository> remoteRepositories; private final String originalMessage; private final String path; static final String LS = System.lineSeparator(); @SuppressWarnings("checkstyle:parameternumber") protected AbstractArtifactResolutionException( String message, String groupId, String artifactId, String version,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Apr 01 21:22:14 GMT 2025 - 10.1K bytes - Click Count (0) -
guava/src/com/google/common/base/Suppliers.java
this.delegate = checkNotNull(delegate); } @Override @ParametricNullness // We set the field only once (during construction or deserialization). @SuppressWarnings("SynchronizeOnNonFinalField") public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) { if (!initialized) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 21:24:28 GMT 2026 - 16.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
import org.jspecify.annotations.Nullable; /** * Implementation of {@link ImmutableMultiset} with zero or more elements. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @SuppressWarnings("serial") // uses writeReplace(), not default serialization final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> { static final RegularImmutableMultiset<Object> EMPTY =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSortedMultiset.java
import java.util.Comparator; import org.jspecify.annotations.Nullable; /** * An immutable sorted multiset with one or more distinct elements. * * @author Louis Wasserman */ @SuppressWarnings("serial") // uses writeReplace, not default serialization @GwtIncompatible final class RegularImmutableSortedMultiset<E> extends ImmutableSortedMultiset<E> { private static final long[] zeroCumulativeCounts = {0};Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Absent.java
/** Implementation of an {@link Optional} not containing a reference. */ @GwtCompatible final class Absent<T> extends Optional<T> { static final Absent<Object> INSTANCE = new Absent<>(); @SuppressWarnings("unchecked") // implementation is "fully variant" static <T> Optional<T> withType() { return (Optional<T>) INSTANCE; } private Absent() {} @Override public boolean isPresent() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMapKeySet.java
} // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override @J2ktIncompatible @GwtIncompatible Object writeReplace() { return super.writeReplace(); } // No longer used for new writes, but kept so that old data can still be read. @GwtIncompatible @J2ktIncompatible @SuppressWarnings("unused")Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 2.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/NullsFirstOrdering.java
} return ordering.compare(left, right); } @Override @SuppressWarnings("nullness") // should be safe, but not sure if we can avoid the warning public <S extends @Nullable T> Ordering<S> reverse() { // ordering.reverse() might be optimized, so let it do its thing return ordering.<T>reverse().<@NonNull S>nullsLast(); } @SuppressWarnings("unchecked") // still need the right way to explain this @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 2.7K bytes - Click Count (0)