Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 515 for Unchecked (0.05 sec)

  1. guava/src/com/google/common/reflect/Types.java

          D genericDeclaration, String name, Type[] bounds) {
        TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<>(genericDeclaration, name, bounds);
        @SuppressWarnings("unchecked")
        TypeVariable<D> typeVariable =
            Reflection.newProxy(
                TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
        return typeVariable;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  2. 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() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertThat(set0).isEmpty();
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set1 = ImmutableSortedSet.of(LegacyComparable.Z);
        assertThat(set1).containsExactly(LegacyComparable.Z);
    
        @SuppressWarnings("unchecked") // using a legacy comparable
        ImmutableSortedSet<LegacyComparable> set2 =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\sess");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    
            // Use doThrow for unchecked exception wrapping the CIFSException
            doThrow(new RuntimeException(new CIFSException("session fail"))).when(tree).getSession();
    
            Exception ex = assertThrows(Exception.class, handle::getSessionKey);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

               * handle either reference, so it's safe to circumvent compile-time type checking.
               */
              @SuppressWarnings("unchecked")
              Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence;
              return equivalence.equivalent(this.reference, that.reference);
            }
          }
          return false;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 01:47:55 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

        UnmodifiableTable(Table<? extends R, ? extends C, ? extends V> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @SuppressWarnings("unchecked") // safe, covariant cast
        @Override
        protected Table<R, C, V> delegate() {
          return (Table<R, C, V>) delegate;
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

            });
        }
    
        protected <BUILDER> int[] delegateBatchRequest(final List<? extends Entity> entityList, Function<EsAbstractEntity, BUILDER> call) {
            @SuppressWarnings("unchecked")
            final BulkList<? extends Entity, BUILDER> bulkList = (BulkList<? extends Entity, BUILDER>) entityList;
            final RequestOptionCall<BUILDER> builderEntityCall = bulkList.getEntityCall();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

        setImplementation(ThreadFactory.class, Dummies.DummyThreadFactory.class);
        setImplementation(Executor.class, Dummies.DummyExecutor.class);
      }
    
      @SuppressWarnings("unchecked") // it's a subtype map
      private static <T> @Nullable Class<? extends T> getImplementation(Class<T> type) {
        return (Class<? extends T>) implementations.get(type);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         *
         * @param str
         *            The string to convert.
         * @param locale
         *            The locale.
         * @return The converted {@link Date}.
         */
        @SuppressWarnings("unchecked")
        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         *
         * @param str
         *            The string to convert.
         * @param locale
         *            The locale.
         * @return The converted {@link Date}.
         */
        @SuppressWarnings("unchecked")
        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top