- Sort Score
- Num 10 results
- Language All
Results 1311 - 1320 of 1,450 for SuppressWarnings (0.12 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
this.repositoryEventDispatcher = Objects.requireNonNull(repositoryEventDispatcher, "repositoryEventDispatcher cannot be null"); } @SuppressWarnings("checkstyle:methodlength") @Override public VersionResult resolveVersion(RepositorySystemSession session, VersionRequest request) throws VersionResolutionException {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 20.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
} }, OLD { @Override <T> Facade<T> newFacade() { return new OldAbstractFutureFacade<T>(); } }; abstract <T> Facade<T> newFacade(); } @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait. static void awaitWaiting(Thread t) { while (true) { Thread.State state = t.getState(); switch (state) { case RUNNABLE:Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* @throws IllegalStateException if the service manager reaches a state from which it cannot * become {@linkplain #isHealthy() healthy}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration public void awaitHealthy(long timeout, TimeUnit unit) throws TimeoutException { state.awaitHealthy(timeout, unit); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
guava-tests/test/com/google/common/base/FunctionsTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testIdentitySerializable() { checkCanReserializeSingleton(Functions.identity()); } @SuppressWarnings("nullness") // test of a bogus call public void testToStringFunction_apply() { assertThat(Functions.toStringFunction().apply(3)).isEqualTo("3"); assertThat(Functions.toStringFunction().apply("hiya")).isEqualTo("hiya");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
private static final Logger LOGGER = LoggerFactory.getLogger(MojoExecutor.class); private static final SessionData.Key<ProjectIndex> PROJECT_INDEX = SessionData.key(ProjectIndex.class); @SuppressWarnings({"unchecked", "rawtypes"}) private static final SessionData.Key<Map<MavenProject, OwnerReentrantLock>> PROJECT_LOCKS = (SessionData.Key) SessionData.key(Map.class, ProjectLock.class);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0) -
android/guava/src/com/google/common/net/MediaType.java
@LazyInit private @Nullable String toString; @LazyInit private int hashCode; // We need to differentiate between "not computed" and "computed to be absent." @SuppressWarnings("NullableOptional") @LazyInit private @Nullable Optional<Charset> parsedCharset; private MediaType(String type, String subtype, ImmutableListMultimap<String, String> parameters) { this.type = type;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 02 01:46:40 GMT 2025 - 48K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
return MapTestSuiteBuilder.using( new TestStringMapGenerator() { @Override // We are testing Hashtable / testing our tests on Hashtable. @SuppressWarnings("JdkObsolete") protected Map<String, String> create(Entry<String, String>[] entries) { return populate(new Hashtable<String, String>(), entries); } })
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 16 03:23:31 GMT 2025 - 17.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
* <p>See the Guava User Guide section on <a href= * "https://github.com/google/guava/wiki/RangesExplained#discrete-domains">{@code * DiscreteDomain}</a>. * * @author Kevin Bourrillion * @since 10.0 */ @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989 @GwtCompatible public abstract class DiscreteDomain<C extends Comparable> { /** * Returns the discrete domain for values of type {@code Integer}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} }; } private static final String KEY = "puppies"; ConcurrentMap<String, AtomicInteger> backingMap; ConcurrentHashMultiset<String> multiset; @SuppressWarnings("unchecked") @Override protected void setUp() { backingMap = mock(ConcurrentMap.class); when(backingMap.isEmpty()).thenReturn(true); multiset = ConcurrentHashMultiset.create(backingMap);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 16.3K bytes - Click Count (0) -
android/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)