Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 422 for UNCHECKED (0.09 seconds)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            assertEquals(1, response2.getNum());
            assertEquals(1, response2.getTotal());
        }
    
        @Test
        @SuppressWarnings("unchecked")
        public void test_indexFromDocument() throws Exception {
            SuggestSettings settings = suggester.settings();
            String field = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0];
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 37.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

      }
    
      /**
       * Returns the empty immutable sorted multiset.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <E> ImmutableSortedMultiset<E> of() {
        return (ImmutableSortedMultiset) RegularImmutableSortedMultiset.NATURAL_EMPTY_MULTISET;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 29.5K bytes
    - Click Count (0)
  3. guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java

     *
     * @author Chris Povirk
     */
    final class Platform {
      /** Serializes and deserializes the specified object (a no-op under GWT). */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        return checkNotNull(object);
      }
    
      private Platform() {}
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

            .testEquals();
      }
    
      public void testStaticMethod_call() throws Exception {
        Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class);
        @SuppressWarnings("unchecked") // prepend() returns Iterable<String>
        Iterable<String> result =
            (Iterable<String>) delegate.invoke(null, "a", ImmutableList.of("b", "c"));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 30.7K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

         *
         * @return A new instance of the component specified by componentName
         * @throws Exception if the component cannot be created
         */
        @Override
        @SuppressWarnings("unchecked")
        public T create() throws Exception {
            if (crawlerContainer == null) {
                throw new IllegalStateException("crawlerContainer is not set. Please configure the container before creating pooled objects.");
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Arrange: create a regular map first, then spy on it
            Map<String, Object> originalMap = new HashMap<>();
            originalMap.put("refreshKrb5Config", "true");
    
            @SuppressWarnings("unchecked")
            Map<String, Object> spyOpts = spy(originalMap);
    
            // Reset the spy to clear any prior invocations from setup
            reset(spyOpts);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/UncheckedTimeoutException.java

     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unchecked version of {@link java.util.concurrent.TimeoutException}.
     *
     * @author Kevin Bourrillion
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public class UncheckedTimeoutException extends RuntimeException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Cut.java

        }
        // same value. below comes before above
        return Boolean.compare(this instanceof AboveValue, that instanceof AboveValue);
      }
    
      C endpoint() {
        return endpoint;
      }
    
      @SuppressWarnings("unchecked") // catching CCE
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof Cut) {
          // It might not really be a Cut<C>, but we'll catch a CCE if it's not
          Cut<C> that = (Cut<C>) obj;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

              assertEquals(Ordering.natural().max(filtered), first);
            } catch (NoSuchElementException e) {
              assertTrue(filtered.isEmpty());
            }
          }
        }
    
        @SuppressWarnings("unchecked")
        public void testHeadSet() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              assertEquals(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        }
      }
    
      @SuppressWarnings("unchecked") // C can only be @Nullable Character or Character
      protected @NonNull C cellValue(Character character) {
        return (C) character;
      }
    
      // Only safe wrt. ClassCastException. Not null-safe (can be used to test expected Table NPEs)
      @SuppressWarnings("unchecked")
      protected C nullableCellValue(@Nullable Character character) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top