- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 742 for unchecked (0.24 seconds)
-
guava/src/com/google/common/collect/TreeBasedTable.java
@Override public Comparator<? super C> comparator() { return columnComparator(); } int compare(Object a, Object b) { // pretend we can compare anything @SuppressWarnings("unchecked") Comparator<Object> cmp = (Comparator<Object>) comparator(); return cmp.compare(a, b); } boolean rangeContains(@Nullable Object o) { return o != nullCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 18 15:05:43 GMT 2025 - 11.6K bytes - Click Count (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);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 34.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ComponentUtil.java
* Gets a component by its class type. * @param <T> The type of the component. * @param clazz The class of the component to retrieve. * @return The component instance. */ @SuppressWarnings("unchecked") public static <T> T getComponent(final Class<T> clazz) { try { return SingletonLaContainer.getComponent(clazz); } catch (final NullPointerException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 30.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (0) -
android/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; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 29.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectArrays.java
* * @param type the component type * @param length the length of the new array */ @GwtIncompatible // Array.newInstance(Class, int) @SuppressWarnings("unchecked") public static <T extends @Nullable Object> T[] newArray(Class<@NonNull T> type, int length) { return (T[]) Array.newInstance(type, length); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
assertEquals(25L, updated.get(FieldNames.QUERY_FREQ)); // 20 + 5 assertEquals(20L, updated.get(FieldNames.DOC_FREQ)); // 10 + 10 @SuppressWarnings("unchecked") List<String> tags = (List<String>) updated.get(FieldNames.TAGS); assertTrue(tags.contains("existing")); } @Test public void testConcatValues() {
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16.7K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
} return builder.toString(); } @SuppressWarnings("CatchingUnchecked") // sneaky checked exception private static String lenientToString(@Nullable Object o) { if (o == null) { return "null"; } try { return o.toString(); } catch (Exception e) { // sneaky checked exception // Default toString() behavior - see Object.toString() String objectToString =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
android/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; } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 27.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* * @param session the HTTP session * @return the result document IDs cache map */ private Map<String, String[]> getResultDocIdsCache(final HttpSession session) { @SuppressWarnings("unchecked") Map<String, String[]> resultDocIdsCache = (Map<String, String[]>) session.getAttribute(Constants.RESULT_DOC_ID_CACHE); if (resultDocIdsCache == null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 14.9K bytes - Click Count (0)