Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 377 for UNCHECKED (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java

            // CrawlerContext crawlerContext = (CrawlerContext) objs[0];
            final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1];
            @SuppressWarnings("unchecked")
            final Set<RequestData> requestDataSet = (Set<RequestData>) objs[2];
            if (logger.isDebugEnabled()) {
                for (final RequestData requestData : requestDataSet) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(
            expectedType,
            TypeToken.of(StringListIterable.class).getSupertype(Iterable.class).getType());
      }
    
      public void testGetSupertype_chained() {
        @SuppressWarnings("unchecked") // StringListIterable extends ListIterable<String>
        TypeToken<ListIterable<String>> listIterableType =
            (TypeToken<ListIterable<String>>)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         */
        public static <T> T[] add(final T[] array, final T obj) {
            assertArgumentNotNull("array", array);
    
            final int length = array.length;
            @SuppressWarnings("unchecked")
            final T[] newArray = (T[]) Array.newInstance(array.getClass().getComponentType(), length + 1);
            System.arraycopy(array, 0, newArray, 0, length);
            newArray[length] = obj;
            return newArray;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Suppliers.java

        NonSerializableMemoizingSupplier(Supplier<T> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        @ParametricNullness
        @SuppressWarnings("unchecked") // Cast from Supplier<Void> to Supplier<T> is always valid
        public T get() {
          // Because Supplier is read-heavy, we use the "double-checked locking" pattern.
          if (delegate != SUCCESSFULLY_COMPUTED) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertTrue(exception instanceof Throwable);
    
            // Should not require try-catch (unchecked exception)
            throwUnchecked(); // This compiles without try-catch
        }
    
        private void throwUnchecked() {
            if (Math.random() > 1) { // Never true, but compiler doesn't know
                throw new CrawlerSystemException("Unchecked");
            }
        }
    
        /**
         * Test suppressed exceptions
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/TreeMultiset.java

       *
       * @param comparator the comparator that will be used to sort this multiset. A null value
       *     indicates that the elements' <i>natural ordering</i> should be used.
       */
      @SuppressWarnings("unchecked")
      public static <E extends @Nullable Object> TreeMultiset<E> create(
          @Nullable Comparator<? super E> comparator) {
        return (comparator == null)
            ? new TreeMultiset<E>((Comparator) Ordering.natural())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertEquals(
            expectedType,
            TypeToken.of(StringListIterable.class).getSupertype(Iterable.class).getType());
      }
    
      public void testGetSupertype_chained() {
        @SuppressWarnings("unchecked") // StringListIterable extends ListIterable<String>
        TypeToken<ListIterable<String>> listIterableType =
            (TypeToken<ListIterable<String>>)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        }
      }
    
      private Type getOnlyParameterType() {
        assertThat(method.getGenericParameterTypes()).hasLength(1);
        return method.getGenericParameterTypes()[0];
      }
    
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static Type getSupertype(Type type, Class<?> superclass) {
        Class rawType = superclass;
        return TypeToken.of(type).getSupertype(rawType).getType();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return mapMaker;
      }
    
      static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) {
        Class<E> classOrNull = getDeclaringClassOrNullForJ2cl(e);
        @SuppressWarnings("unchecked")
        Class<E> result = classOrNull == null ? (Class<E>) (Class<?>) Object.class : classOrNull;
        return result;
      }
    
      /*
       * If I understand correctly:
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                    }
    
                    // Check for nested map
                    if (params.containsKey("nested") && params.get("nested") instanceof Map) {
                        @SuppressWarnings("unchecked")
                        Map<String, Object> nestedMap = (Map<String, Object>) params.get("nested");
                        if (nestedMap.containsKey("innerKey")) {
                            return createMockRescorerBuilder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top