Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 422 for UNCHECKED (0.05 seconds)

  1. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        }
      }
    
      private static <X extends Exception> X newWithCause(Class<X> exceptionClass, Throwable cause) {
        // getConstructors() guarantees this as long as we don't modify the array.
        @SuppressWarnings({"unchecked", "rawtypes"})
        List<Constructor<X>> constructors = (List) Arrays.asList(exceptionClass.getConstructors());
        for (Constructor<X> constructor : preferringStringsThenThrowables(constructors)) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/TreeMultimap.java

        stream.writeObject(keyComparator());
        stream.writeObject(valueComparator());
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        @SuppressWarnings("unchecked") // reading data stored by writeObject
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        /* MNG-4129 */
        @Test
        void testPluginExecutionInheritanceWhenChildDoesNotDeclarePlugin() throws Exception {
            PomTestWrapper pom = buildPom("plugin-exec-inheritance/wo-merge");
            @SuppressWarnings("unchecked")
            List<PluginExecution> executions = (List<PluginExecution>) pom.getValue(
                    "build/pluginsAsMap[@name='org.apache.maven.its.plugins:maven-it-plugin-log-file']/executions");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/RegularImmutableBiMap.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      @SuppressWarnings("unchecked") // TODO(cpovirk): Consider storing Entry<?, ?>[] instead.
      static final RegularImmutableBiMap<Object, Object> EMPTY =
          new RegularImmutableBiMap<>(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 11K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Predicates.java

            return o != null;
          }
    
          @Override
          public String toString() {
            return "Predicates.notNull()";
          }
        };
    
        @SuppressWarnings("unchecked") // safe contravariant cast
        <T extends @Nullable Object> Predicate<T> withNarrowedType() {
          return (Predicate<T>) this;
        }
      }
    
      /**
       * @see Predicates#not(Predicate)
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ComparisonChain.java

      public static ComparisonChain start() {
        return ACTIVE;
      }
    
      private static final ComparisonChain ACTIVE =
          new ComparisonChain() {
            @SuppressWarnings("unchecked") // unsafe; see discussion on supertype
            @Override
            public ComparisonChain compare(Comparable<?> left, Comparable<?> right) {
              return classify(((Comparable<Object>) left).compareTo(right));
            }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

        }
    
        private String mojoInfo(MojoDescriptor mojoDescriptor, Class<?> mojoClass) {
            return mojoDescriptor.getFullGoalName() + " (" + mojoClass.getName() + ")";
        }
    
        @SuppressWarnings("unchecked")
        private ConcurrentHashMap<String, PluginValidationIssues> pluginIssues(RepositorySystemSession session) {
            return (ConcurrentHashMap<String, PluginValidationIssues>)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:32 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        final Object rawData = resultData.getRawData();
                        if (rawData != null) {
                            @SuppressWarnings("unchecked")
                            final Map<String, Object> responseDataMap = (Map<String, Object>) rawData;
                            mergeResponseData(dataMap, responseDataMap);
                        } else {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  9. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         * Gets a component by its class type.
         * @param <T> The type of the component.
         * @param clazz The class of the component to retrieve.
         * @return The component instance.
         */
        @SuppressWarnings("unchecked")
        public static <T> T getComponent(final Class<T> clazz) {
            try {
                return SingletonLaContainer.getComponent(clazz);
            } catch (final NullPointerException e) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 28.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          return subscriberMethodsCache.getUnchecked(clazz);
        } catch (UncheckedExecutionException e) {
          if (e.getCause() instanceof IllegalArgumentException) {
            /*
             * IllegalArgumentException is the one unchecked exception that we know is likely to happen
             * (thanks to the checkArgument calls in getAnnotatedMethodsNotCached). If it happens, we'd
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top