- Sort Score
- Result 10 results
- Languages All
Results 881 - 890 of 1,007 for SuppressWarnings (0.38 sec)
-
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link PeekingIterator}. * * @author Mick Killianey */ @SuppressWarnings("serial") // No serialization is used in this test @GwtCompatible @NullMarked public class PeekingIteratorTest extends TestCase { /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* unchecked cast at some later point: * * {@snippet : * @SuppressWarnings("unchecked") // safe because of ::isInstance check * ImmutableList<NewType> result = * (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList()); * } */ @SuppressWarnings("unchecked") @GwtIncompatible // Class.isInstanceRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
proxyInfo.setUserName(repository.getProxy().getUserName()); proxyInfo.setPassword(repository.getProxy().getPassword()); return proxyInfo; } @SuppressWarnings("checkstyle:methodlength") @Override public void getRemoteFile( ArtifactRepository repository, File destination, String remotePath,
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} } // We need to test that asList() really does return the original list. @SuppressWarnings("InlineMeInliner") public void testAsList() { ImmutableList<String> list = ImmutableList.of("a", "b"); assertSame(list, list.asList()); } @SuppressWarnings("ModifiedButNotUsed") @GwtIncompatible // actually allocates nCopies @J2ktIncompatible // actually allocates nCopies
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertThrows( NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls)); } } // We need to test that asList() really does return the original list. @SuppressWarnings("InlineMeInliner") public void testAsList() { ImmutableList<String> list = ImmutableList.of("a", "b"); assertSame(list, list.asList()); } @GwtIncompatible("builder internals")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* "https://github.com/google/guava/wiki/ImmutableCollectionsExplained">immutable collections</a>. * * @since 2.0 */ @DoNotMock("Use ImmutableList.of or another implementation") @GwtCompatible @SuppressWarnings("serial") // we're overriding default serialization // TODO(kevinb): I think we should push everything down to "BaseImmutableCollection" or something,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
} } } private static final class JavaIoCreator extends TempFileCreator { @Override File createTempDir() { File baseDir = new File(JAVA_IO_TMPDIR.value()); @SuppressWarnings("GoodTime") // reading system time without TimeSource String baseName = System.currentTimeMillis() + "-"; for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ComparisonChain.java
public static ComparisonChain start() { return ACTIVE; } private static final ComparisonChain ACTIVE = new ComparisonChain() { @SuppressWarnings("unchecked") // unsafe; see discussion on supertype @Override public ComparisonChain compare(Comparable<?> left, Comparable<?> right) { return classify(((Comparable<Object>) left).compareTo(right));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
* implementation</a>. * * @author Austin Appleby * @author Dimitris Andreou * @author Kurt Alfred Kluever */ @Immutable @SuppressWarnings("IdentifierName") // the best we could do for adjacent digit blocks final class Murmur3_32HashFunction extends AbstractHashFunction implements Serializable { static final HashFunction MURMUR3_32 =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* unchecked cast at some later point: * * {@snippet : * @SuppressWarnings("unchecked") // safe because of ::isInstance check * ImmutableList<NewType> result = * (ImmutableList) stream.filter(NewType.class::isInstance).collect(toImmutableList()); * } */ @SuppressWarnings("unchecked") @GwtIncompatible // Class.isInstanceRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.3K bytes - Viewed (0)