- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 682 for unchecked (0.18 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
private final CountDownLatch returned = new CountDownLatch(1); private Object proxy; @SuppressWarnings("unchecked") // proxy for a generic class <V> Callable<V> waitFor(Callable<V> callable) { return waitFor(callable, Callable.class); } @SuppressWarnings("unchecked") // proxy for a generic class <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 74.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java
} @Override public final BiMap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; } return create(array); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 2.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
} @Override public final SetMultimap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; } return create(array); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* - https://github.com/jspecify/jdk/commit/71d826792b8c7ef95d492c50a274deab938f2552 */ /* * TODO(cpovirk): Is the unchecked cast avoidable? Would System.arraycopy be similarly fast (if * likewise not type-checked)? Could our single caller do something different? */ @SuppressWarnings({"nullness", "unchecked"}) static <T extends @Nullable Object> T[] copy(Object[] source, int from, int to, T[] arrayOfType) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 4.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* doesn't recognize this kind of cast as unchecked cast. Neither does * Eclipse 3.4. Right now, this suppression is mostly unnecessary. */ @SuppressWarnings("unchecked") MultiExceptionListIterator multiExceptionListIterator = (MultiExceptionListIterator) reference; multiExceptionListIterator.promoteToNext(targetReturnValueFromNext); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 20.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java
} @Override public final SetMultimap<String, String> create(Object... entries) { @SuppressWarnings("unchecked") Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length]; int i = 0; for (Object o : entries) { @SuppressWarnings("unchecked") Entry<String, String> e = (Entry<String, String>) o; array[i++] = e; } return create(array); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
// Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"}) public Map<TypeToken, Object> create(Object... elements) { MutableTypeToInstanceMap<Object> map = new MutableTypeToInstanceMap<>();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 7.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java
// These come from Entry<K, Collection<V>>> objects somewhere. @SuppressWarnings("unchecked") K key = (K) entry.getKey(); keySet.add(key); for (Object v : (Collection<?>) entry.getValue()) { // These come from Entry<K, Collection<V>>> objects somewhere. @SuppressWarnings("unchecked") V value = (V) v; builder.add(mapEntry(key, value)); } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 26.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirVariableLikeSignature.kt
override val token: KtLifetimeToken, override val firSymbol: FirVariableSymbol<*>, override val firSymbolBuilder: KtSymbolByFirBuilder, ) : KtFirVariableLikeSignature<S>() { @Suppress("UNCHECKED_CAST") override val symbol: S get() = withValidityAssertion { firSymbol.buildSymbol(firSymbolBuilder) as S } override val returnType: KtType get() = withValidityAssertion { symbol.returnType }
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Thu Apr 27 10:59:30 GMT 2023 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
"Invokable is known to return " + getReturnType() + ", not " + returnType); } @SuppressWarnings("unchecked") // guarded by previous check Invokable<T, R1> specialized = (Invokable<T, R1>) this; return specialized; } @SuppressWarnings("unchecked") // The declaring class is T's raw class, or one of its supertypes. @Override public final Class<? super T> getDeclaringClass() {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Dec 14 20:35:03 GMT 2023 - 18.6K bytes - Viewed (0)