Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 570 for Unchecked (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                return versionScheme.parseVersionRange(spec);
            } catch (InvalidVersionSpecificationException e) {
                throw new RuntimeException(e);
            }
        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        private Map<String, String> createMergedProperties(MavenExecutionRequest request) {
            // this throwaway map is really ONLY to get config from (profiles + env + system + user)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 05:56:35 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

          }
        };
      }
    
      private static final String KEY = "puppies";
    
      ConcurrentMap<String, AtomicInteger> backingMap;
      ConcurrentHashMultiset<String> multiset;
    
      @SuppressWarnings("unchecked")
      @Override
      protected void setUp() {
        backingMap = mock(ConcurrentMap.class);
        when(backingMap.isEmpty()).thenReturn(true);
    
        multiset = ConcurrentHashMultiset.create(backingMap);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        public E next() {
          if (cursor >= array.length) throw new NoSuchElementException();
          lastRet = cursor;
    
          // array comes from q.toArray() and so should have only E's in it
          @SuppressWarnings("unchecked")
          E e = (E) array[cursor++];
          return e;
        }
    
        @Override
        public void remove() {
          if (lastRet < 0) throw new IllegalStateException();
          Object x = array[lastRet];
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            typeVariables = getTypeVariableMap(beanClass);
            setupConstructorDescs();
            setupPropertyDescs();
            setupMethodDescs();
            setupFieldDescs();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public <T> Class<T> getBeanClass() {
            return (Class<T>) beanClass;
        }
    
        @Override
        public Map<TypeVariable<?>, Type> getTypeVariables() {
            return typeVariables;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

        }
    
        /**
         * Converts a string to a {@link Date}.
         *
         * @param str the string
         * @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 : iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                            continue;
                        }
                        @SuppressWarnings("unchecked")
                        final Map<String, Object> map = (Map<String, Object>) transformer.getData(accessResultData);
                        if (map.isEmpty()) {
                            // no transformer
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        sampleData = sampleDataList.toArray(new String[sampleDataList.size()]);
      }
    
      // Since we can't pass a concrete SomeEnum.class directly, we need to use a raw type.
      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

        // type.
        checkNotNull(enumClass);
        checkNotNull(policy);
        @SuppressWarnings("unchecked")
        Map<E, LockGraphNode> lockGraphNodes = (Map<E, LockGraphNode>) getOrCreateNodes(enumClass);
        return new WithExplicitOrdering<>(policy, lockGraphNodes);
      }
    
      @SuppressWarnings("unchecked")
      private static <E extends Enum<E>> Map<? extends E, LockGraphNode> getOrCreateNodes(
          Class<E> clazz) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        for (int z = 1; z <= 100; z++) {
          multimap.put("a", z);
          // The Eclipse compiler (and hence GWT) rejects a parameterized cast.
          @SuppressWarnings("unchecked")
          LinkedHashMultimap<String, Integer>.ValueSet valueSet =
              (LinkedHashMultimap.ValueSet) multimap.backingMap().get("a");
          assertEquals(z, valueSet.size());
          assertFalse(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top