Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 309 for incompatible (0.07 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

        @Override
        public final void setResponse(final CommonServerMessageBlockResponse msg) {
            if (msg != null && !(msg instanceof ServerMessageBlock2)) {
                throw new IllegalArgumentException("Incompatible response");
            }
            this.response = (T) msg;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            CIFSException exception = assertThrows(CIFSException.class, () -> response.getInfo(FileFsSizeInformation.class),
                    "Should throw CIFSException for incompatible class");
    
            assertEquals("Incompatible file information class", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test writeBytesWireFormat returns 0")
        void testWriteBytesWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        public <T extends FileSystemInformation> T getInfo(final Class<T> clazz) throws CIFSException {
            if (!clazz.isAssignableFrom(this.info.getClass())) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) getInfo();
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EvictingQueue.java

          clear();
          return Iterables.addAll(this, Iterables.skip(collection, size - maxSize));
        }
        return standardAddAll(collection);
      }
    
      @Override
      @J2ktIncompatible // Incompatible return type change. Use inherited implementation
      public Object[] toArray() {
        /*
         * If we could, we'd declare the no-arg `Collection.toArray()` to return "Object[] but elements
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

        @SuppressWarnings("unchecked")
        public <T extends FileInformation> T getInfo(final Class<T> type) throws CIFSException {
            if (!type.isAssignableFrom(this.info.getClass())) {
                throw new CIFSException("Incompatible file information class");
            }
            return (T) this.info;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

       without changing `.kt` files.
    
    With a few small exceptions (below), OkHttp 4.x is both binary- and Java source-compatible with
    OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x.
    
    OkHttp is **not** source-compatible for Kotlin callers, but upgrading should be automatic thanks to
    Kotlin’s powerful deprecation features. Most developers should be able to use IntelliJ’s _Code
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Predicates.java

       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
      public static Predicate<CharSequence> containsPattern(String pattern) {
        return new ContainsPatternFromStringPredicate(pattern);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertSame(nbtAddress, unwrapped);
    
            // Test unwrap for incompatible type - NbtAddress implements NetbiosAddress so it should return itself
            NetbiosAddress netbiosUnwrapped = nbtAddress.unwrap(NetbiosAddress.class);
            assertNotNull(netbiosUnwrapped);
            assertSame(nbtAddress, netbiosUnwrapped);
    
            // Test unwrap for truly incompatible type
            assertNull(nbtAddress.unwrap(UniAddress.class));
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     *
     * The calls to {@link #isSubtype} and {@link #notSubtype} tells the framework what assertions need
     * to be made.
     *
     * <p>The declaration methods must be public.
     */
    @AndroidIncompatible // only used by android incompatible tests.
    @NullUnmarked
    abstract class SubtypeTester implements Cloneable {
    
      /** Annotates a public method that declares subtype assertion. */
      @RequiredModifiers(Modifier.PUBLIC)
      @Retention(RetentionPolicy.RUNTIME)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. .github/workflows/build.yml

            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: |
                11
                17
                24
    
          - name: Allow incompatible JVM versions
            run: |
              echo 'kotlin.jvm.target.validation.mode=ignore' >> ./gradle.properties
    
          - name: Setup Gradle
            uses: gradle/actions/setup-gradle@v4
    
          - name: Run Checks
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 07:15:58 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top