Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 135 for isIncompatible (0.23 seconds)

  1. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       *       to make such changes to our serialized forms, and we have made them before, usually
       *       without trouble. In this case, my guess is that our chosen approach is even less likely
       *       to lead to trouble than an incompatible change would be.
       *   <li>We could make {@link #countMap} no longer be {@code final}. Then we could write to it
       *       directly during deserialization. However, we would lose Java's guarantees for {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                DfsReferralDataImpl unwrapped = referralData.unwrap(DfsReferralDataImpl.class);
                assertSame(referralData, unwrapped);
            }
    
            @Test
            @DisplayName("Should throw ClassCastException for incompatible type")
            void testUnwrapToIncompatibleType() {
                // Create a mock class that extends DfsReferralData but is not compatible
                class IncompatibleReferralData implements DfsReferralData {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

      public Spliterator<E> spliterator() {
        return Spliterators.spliterator(this, SPLITERATOR_CHARACTERISTICS);
      }
    
      private static final Object[] EMPTY_ARRAY = {};
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public final Object[] toArray() {
        return toArray(EMPTY_ARRAY);
      }
    
      @CanIgnoreReturnValue
      @Override
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

       * the cache, but only the "generic" one is type-safe. That is, it will properly prevent you from
       * building caches whose key or value types are incompatible with the types accepted by the
       * weigher already provided; the {@code CacheBuilder} type cannot do this. For best results,
       * simply use the standard method-chaining idiom, as illustrated in the documentation at top,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertFalse(set.contains(""));
        assertFalse(set.contains("california"));
        assertFalse(set.contains(null));
      }
    
      @SuppressWarnings("CollectionIncompatibleType") // testing incompatible types
      public void testExplicit_containsMismatchedTypes() {
        SortedSet<String> set =
            ImmutableSortedSet.orderedBy(STRING_LENGTH)
                .add("in", "the", "quick", "jumped", "over", "a")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableCollection.java

      public Spliterator<E> spliterator() {
        return Spliterators.spliterator(this, SPLITERATOR_CHARACTERISTICS);
      }
    
      private static final Object[] EMPTY_ARRAY = {};
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited (unoptimized) implementation
      public final Object[] toArray() {
        return toArray(EMPTY_ARRAY);
      }
    
      @CanIgnoreReturnValue
      @Override
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  7. api/maven-api-plugin/src/main/mdo/plugin.mdo

            <field>
              <name>v4Api</name>
              <version>1.1.0</version>
              <type>boolean</type>
              <description>Marks this Mojo as using Maven 4 API. This makes the plugin implicitly incompatible with earlier Maven versions. Only evaluated since Maven 4.</description>
              <defaultValue>false</defaultValue>
            </field>
            <field>
              <name>instantiationStrategy</name>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:28:41 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       *       to make such changes to our serialized forms, and we have made them before, usually
       *       without trouble. In this case, my guess is that our chosen approach is even less likely
       *       to lead to trouble than an incompatible change would be.
       *   <li>We could make {@link #countMap} no longer be {@code final}. Then we could write to it
       *       directly during deserialization. However, we would lose Java's guarantees for {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.28.md

    ## Dependencies
    
    ### Added
    _Nothing has changed._
    
    ### Changed
    - github.com/evanphx/json-patch: [v5.6.0+incompatible → v4.12.0+incompatible](https://github.com/evanphx/json-patch/compare/v5.6.0...v4.12.0)
    - github.com/google/cel-go: [v0.16.0 → v0.16.1](https://github.com/google/cel-go/compare/v0.16.0...v0.16.1)
    
    ### Removed
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Sep 05 03:47:18 GMT 2025
    - 456.9K bytes
    - Click Count (1)
  10. guava-tests/test/com/google/common/math/IntMathTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(int.class, 1);
        tester.testAllPublicStaticMethods(IntMath.class);
      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
Back to Top