Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for oldClass (0.1 sec)

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

                return null
            }
    
            Optional<CtClass> oldClass = member.oldClass
            Optional<CtClass> newClass = member.newClass
            if (!oldClass.isPresent() || !newClass.isPresent()) {
                // breaking change would be reported
                return null
            }
    
            return checkSuperClassChanges(member, oldClass.get(), newClass.get())
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

            apiClass.compatibilityChanges >> [JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS]
        }
    
        def "method removal can be reported if current class is first public class"() {
            given:
            apiClass.oldClass >> Optional.of(classes['OldBase'])
            apiClass.newClass >> Optional.of(classes['NewBase'])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            return member.compatibilityChanges.contains(JApiCompatibilityChange.METHOD_REMOVED_IN_SUPERCLASS)
        }
    
        protected Violation checkSuperClassChanges(JApiClass c, CtClass oldClass, CtClass newClass) {
            Set<CtMethod> oldMethods = collectAllPublicApiMethods(oldClass.superclass)
            Set<CtMethod> newMethods = collectAllPublicApiMethods(newClass.superclass)
    
            oldMethods.removeAll(newMethods)
    
            if (oldMethods.isEmpty()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            return member.getChangeStatus() == JApiChangeStatus.MODIFIED
        }
    
        protected Violation checkSuperClassChanges(JApiClass c, CtClass oldClass, CtClass newClass) {
            Map<String, CtClass> oldInterfaces = collectImplementedInterfaces(oldClass)
            Map<String, CtClass> newInterfaces = collectImplementedInterfaces(newClass)
    
            newInterfaces.keySet().removeAll(oldInterfaces.keySet())
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

            return member instanceof JApiClass && !member.superclass.binaryCompatible && !member.superclass.compatibilityChanges.empty
        }
    
        @Override
        protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) {
            return acceptOrReject(apiClass.superclass, Violation.notBinaryCompatible(apiClass.superclass))
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            stablePublicInterface = instanceScopedPool.get(StablePublicInterface.name)
    
            apiClass.changeStatus >> JApiChangeStatus.MODIFIED
            apiClass.oldClass >> Optional.of(oldBase)
            apiClass.newClass >> Optional.of(newBase)
    
            internalInterface.name = replaceAsInternal(internalInterface.name)
    
            interfaces = ['internal': internalInterface,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            int index = offset + SIGNATURE_OFFSET;
            for ( int i = 0; i < SIGNATURE_LENGTH; i++ )
                data[ index + i ] = 0;
    
            // set signed flag
            int oldFlags = SMBUtil.readInt4(data, offset + 16);
            int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED;
            SMBUtil.writeInt4(flags, data, offset + 16);
    
            this.digest.update(data, offset, length);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
Back to top