Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 555 for unchecked (0.13 sec)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java

    public class UpgradePropertiesRulePostProcess implements PostProcessViolationsRule {
    
        @Override
        @SuppressWarnings("unchecked")
        public void execute(ViolationCheckContextWithViolations context) {
            Set<AccessorKey> seenUpgradedAccessorsChanges = (Set<AccessorKey>) context.getUserData().get(SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Converter.java

      }
    
      // SPI methods (what subclasses must implement)
    
      /**
       * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be
       * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown.
       *
       * @param a the instance to convert; will never be null
       * @return the converted instance; <b>must not</b> be null
       */
      @ForOverride
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                      // Other tests will verify what real, warning-free usage looks like
                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<Class, Impl> create(Object... elements) {
                        MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create();
                        for (Object object : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularImmutableList.java

        arraycopy(array, 0, dst, dstOff, size);
        return dstOff + size;
      }
    
      // The fake cast to E is safe because the creation methods only allow E's
      @Override
      @SuppressWarnings("unchecked")
      public E get(int index) {
        checkElementIndex(index, size);
        // requireNonNull is safe because we guarantee that the first `size` elements are non-null.
        return (E) requireNonNull(array[index]);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.size(), is(5));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testEqaulas() throws Exception {
            @SuppressWarnings("unchecked")
            Map<String, String> copy = (ArrayMap<String, String>) map.clone();
            assertThat(map.equals(copy), is(true));
            assertThat(map.equals(null), is(not(true)));
            map.put("3", "test3");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RegularImmutableAsList.java

      }
    
      @Override
      ImmutableCollection<E> delegateCollection() {
        return delegate;
      }
    
      ImmutableList<? extends E> delegateList() {
        return delegateList;
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast!
      @Override
      public UnmodifiableListIterator<E> listIterator(int index) {
        return (UnmodifiableListIterator<E>) delegateList.listIterator(index);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        Class<? super T> rawType = type.getRawType();
        @SuppressWarnings("unchecked") // Assume all default values are generics safe.
        T defaultValue = (T) defaultValues.getInstance(rawType);
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies.
        T value = (T) ArbitraryInstances.get(rawType);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ReverseNaturalOrdering.java

    import java.io.Serializable;
    import java.util.Iterator;
    
    /** An ordering that uses the reverse of the natural order of the values. */
    @GwtCompatible(serializable = true)
    @SuppressWarnings({"unchecked", "rawtypes"}) // TODO(kevinb): the right way to explain this??
    @ElementTypesAreNonnullByDefault
    final class ReverseNaturalOrdering extends Ordering<Comparable<?>> implements Serializable {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        public Set<Multiset.Entry<E>> create(Object... entries) {
          List<Object> contents = new ArrayList<>();
          Set<E> elements = new HashSet<>();
          for (Object o : entries) {
            @SuppressWarnings("unchecked")
            Multiset.Entry<E> entry = (Entry<E>) o;
            checkArgument(
                elements.add(entry.getElement()), "Duplicate keys not allowed in EntrySetGenerator");
            for (int i = 0; i < entry.getCount(); i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            }
            return authUrl;
    
        }
    
        protected void storeStateInSession(final HttpSession session, final String state, final String nonce) {
            @SuppressWarnings("unchecked")
            Map<String, StateData> stateMap = (Map<String, StateData>) session.getAttribute(STATES);
            if (stateMap == null) {
                stateMap = new HashMap<>();
                session.setAttribute(STATES, stateMap);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.2K bytes
    - Viewed (0)
Back to top