- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 515 for Unchecked (0.03 sec)
-
src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java
final Map<String, Object> defaultSettings = defaultSettings(); initialSettings.forEach((key, value) -> { if (value instanceof Collection) { @SuppressWarnings("unchecked") final Collection<Object> collection = (Collection<Object>) value; collection.forEach(element -> arraySettings.add(new Tuple<>(key, element)));
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* This does perform a little more work than necessary, so another option is to insert an * 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()); * }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* This does perform a little more work than necessary, so another option is to insert an * 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()); * }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
void sendWithRequestVarargsDelegates() throws Exception { // Verifies Request<T> overload forwards to the varargs form with a null response @SuppressWarnings("unchecked") Request<CommonServerMessageBlockResponse> req = mock(Request.class); CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class); // Stub tree send for varargs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
// Validation // ========== @SuppressWarnings("unchecked") /** * Creates a validator instance for form validation. * This method uses the system helper to create a validator with Fess-specific messages. * * @return a new action validator instance
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
public class UnmodifiableCollectionTests { public static void assertMapEntryIsUnmodifiable(Entry<?, ?> entry) { try { // fine because the call is going to fail without modifying the entry @SuppressWarnings("unchecked") Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry; nullableValueEntry.setValue(null); fail("setValue on unmodifiable Map.Entry succeeded");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
} /** * Get values from array index. * @param index Index * @param type Type * @param key Key * @return Values */ @SuppressWarnings("unchecked") protected Map<String, Object>[] getFromArrayIndex(final String index, final String type, final String key) { final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH); try {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 15.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
*/ public static <K, V> ImmutableMultimap<K, V> copyOf(Multimap<? extends K, ? extends V> multimap) { if (multimap instanceof ImmutableMultimap) { @SuppressWarnings("unchecked") // safe since multimap is not writable ImmutableMultimap<K, V> kvMultimap = (ImmutableMultimap<K, V>) multimap; if (!kvMultimap.isPartialView()) { return kvMultimap; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardTable.java
@Override public boolean containsKey(@Nullable Object key) { return containsRow(key); } // performing cast only when key is in backing map and has the correct type @SuppressWarnings("unchecked") @Override public @Nullable Map<C, V> get(@Nullable Object key) { // requireNonNull is safe because of the containsRow check. return containsRow(key) ? row((R) requireNonNull(key)) : null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 30.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
* @throws Exception */ @Test public void testCopy_beanToNewMap_specificClass() throws Exception { final MyBean src = new MyBean(); src.aaa = "aaa"; @SuppressWarnings("unchecked") final Map<String, Object> dest = BeanUtil.copyBeanToNewMap(src, HashMap.class); assertThat(dest.get("aaa"), is((Object) "aaa")); final BeanMap dest2 = BeanUtil.copyBeanToNewMap(src, BeanMap.class);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0)