- Sort Score
- Num 10 results
- Language All
Results 1231 - 1240 of 1,450 for SuppressWarnings (0.41 seconds)
-
android/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 { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 8.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
*/ @GwtIncompatible @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 NavigableSetNavigationTester<E> extends AbstractSetTester<E> { private NavigableSet<E> navigableSet; private List<E> values; private E a; private E b;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
safeParamMap.keySet(), e); logScriptExecution(template, "failure:" + e.getClass().getSimpleName()); return null; } } @SuppressWarnings("unchecked") private CachedScript getOrCompile(final String template) { try { return scriptCache.get(template, () -> {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 11.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
private final boolean recursive; private final boolean processPlugins; private final List<RemoteRepository> repositories; @SuppressWarnings("checkstyle:ParameterNumber") DefaultProjectBuilderRequest( @Nonnull Session session, @Nullable RequestTrace trace, @Nullable Path path,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
public MonitorBasedArrayBlockingQueue(int capacity, boolean fair, Collection<? extends E> c) { this(capacity, fair); checkArgument(capacity >= c.size()); for (E e : c) add(e); } @SuppressWarnings("unchecked") // please don't try this home, kids private static <E> E[] newEArray(int capacity) { return (E[]) new Object[capacity]; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Throwables.java
(jla == null) ? null : getSizeMethod(jla); /** * Returns the JavaLangAccess class that is present in all Sun JDKs. It is not allowed in * AppEngine, and not present in non-Sun JDKs. */ @SuppressWarnings("removal") // b/318391980 @J2ktIncompatible @GwtIncompatible // java.lang.reflect private static @Nullable Object getJla() { try { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
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,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 18.7K bytes - Click Count (0) -
src/main/java/jcifs/http/NetworkExplorer.java
*/ protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException { final byte[] buf = new byte[8192]; @SuppressWarnings("resource") final ServletOutputStream out = resp.getOutputStream(); String url; int n; try (SmbFileInputStream in = new SmbFileInputStream(file)) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (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++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java
import org.codehaus.plexus.util.StringUtils; /** * Handles inheritance of model values. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @SuppressWarnings({"checkstyle:methodname"}) @Named @Singleton @Deprecated(since = "4.0.0") public class DefaultInheritanceAssembler implements InheritanceAssembler {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 13.4K bytes - Click Count (0)