Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 570 for Unchecked (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

        @Override
        public ExtensionRealmCache.CacheRecord setupExtensionsRealm(
                MavenProject project, Plugin plugin, RepositorySystemSession session) throws PluginManagerException {
            @SuppressWarnings("unchecked")
            Map<String, ExtensionRealmCache.CacheRecord> pluginRealms =
                    (Map<String, ExtensionRealmCache.CacheRecord>) project.getContextValue(KEY_EXTENSIONS_REALMS);
            if (pluginRealms == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 16:35:21 UTC 2025
    - 46.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
      }
    
      // J2kt cannot translate the Comparable rawtype in a usable way (it becomes Comparable<Object>
      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard(
          MinMaxPriorityQueue.Builder<Comparable> builder) {
        return (MinMaxPriorityQueue.Builder) builder;
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertEquals(mod, unmod);
        mod.put("foo", 1);
        assertTrue(unmod.containsEntry("foo", 1));
        assertEquals(mod, unmod);
      }
    
      @SuppressWarnings("unchecked")
      public void testUnmodifiableMultimapEntries() {
        Multimap<String, Integer> mod = HashMultimap.create();
        Multimap<String, Integer> unmod = Multimaps.unmodifiableMultimap(mod);
        mod.put("foo", 1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Lists.java

        if (list instanceof ImmutableList) {
          // Avoid nullness warnings.
          List<?> reversed = ((ImmutableList<?>) list).reverse();
          @SuppressWarnings("unchecked")
          List<T> result = (List<T>) reversed;
          return result;
        } else if (list instanceof ReverseList) {
          return ((ReverseList<T>) list).getForwardList();
        } else if (list instanceof RandomAccess) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        public @Nullable Collection<V> get(@Nullable Object key) {
          Collection<V> collection = safeGet(submap, key);
          if (collection == null) {
            return null;
          }
          @SuppressWarnings("unchecked")
          K k = (K) key;
          return wrapCollection(k, collection);
        }
    
        @Override
        public Set<K> keySet() {
          return AbstractMapBasedMultimap.this.keySet();
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked("bar"));
        assertThat(callCount.get()).isEqualTo(2);
      }
    
      /**
       * On a concurrent computation that throws an unchecked exception, all threads should get the
       * (wrapped) exception, with the loader called only once. The result should not be cached (a later
       * request should call the loader again).
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        @Keep
        public void checkArray(Converter<String, Integer> c, String s) {
          calledWith(c, s);
        }
    
        void check() {
          runTester();
          @SuppressWarnings("unchecked") // We are checking it anyway
          Converter<String, Integer> defaultConverter =
              (Converter<String, Integer>) getDefaultParameterValue(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/InetAddresses.java

        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
       * who already know that addr is an array of length 4 or 16.
       *
       * @param addr the raw 4-byte or 16-byte IP address in big-endian order
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

            }
    
            // AuthSchemeFactory
            final RegistryBuilder<AuthSchemeProvider> authSchemeProviderBuilder = RegistryBuilder.create();
            @SuppressWarnings("unchecked")
            final Map<String, AuthSchemeProvider> factoryMap =
                    getInitParameter(AUTH_SCHEME_PROVIDERS_PROPERTY, authSchemeProviderMap, Map.class);
            if (factoryMap != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 53.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
       * who already know that addr is an array of length 4 or 16.
       *
       * @param addr the raw 4-byte or 16-byte IP address in big-endian order
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top