Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 360 for UNCHECKED (0.04 sec)

  1. 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)
  2. src/main/java/jcifs/netbios/NbtAddress.java

            this.isDataFromNodeStatus = true;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Address#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends Address> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            return null;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test ComparableVersion.
     */
    @SuppressWarnings("unchecked")
    class ComparableVersionTest {
        private ComparableVersion newComparable(String version) {
            ComparableVersion ret = new ComparableVersion(version);
            String canonical = ret.getCanonical();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

       *
       * <p>This is equivalent to {@code Stream.of(streams).flatMap(stream -> stream)}, but the returned
       * stream may perform better.
       *
       * @see Stream#concat(Stream, Stream)
       */
      @SuppressWarnings("unchecked") // could probably be avoided with a forwarding Spliterator
      @SafeVarargs
      public static <T extends @Nullable Object> Stream<T> concat(Stream<? extends T>... streams) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            }
            return getNegotiateResponse().isSigningRequired();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTransport#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends SmbTransport> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Strings.java

       * java.util.IllegalFormatException}.
       *
       * <p>In certain cases, such as outputting debugging information or constructing a message to be
       * used for another unchecked exception, an exception during string formatting would serve little
       * purpose except to supplant the real information you were trying to provide. These are the cases
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/TopKSelector.java

       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      private @Nullable T threshold;
    
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Object[] instead of T[].
      private TopKSelector(Comparator<? super T> comparator, int k) {
        this.comparator = checkNotNull(comparator, "comparator");
        this.k = k;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. 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) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
Back to top