Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for chang (0.26 sec)

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

            }
    
            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())
        }
    
        protected abstract boolean changed(JApiCompatibility member)
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

                seenApiChanges.add(change)
                return Violation.accept(member, "${rejection.getHumanExplanation()}. Reason for accepting this: <b>Upgraded property</b>")
            }
    
            def acceptanceJson = new AcceptedApiChange(
                change.type,
                change.member,
                '[ADD YOUR CUSTOM REASON HERE]',
                change.changes
            )
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

                if (infixChanged) {
                    changes.add(modifierChangeDetail("infix", newIsInfix))
                }
                return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change"))
            }
    
            return null
        }
    
        private static String modifierChangeDetail(String modifier, boolean added) {
            return "$modifier modifier was ${added ? "added" : "removed"}"
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

                <caution>
                    <para>Note: This property is <ulink url="../userguide/feature_lifecycle.html">incubating</ulink> and may change in a future version of Gradle.</para>
                </caution>
                <para>prop2 comment</para>
            </section>
        </section>
    </chapter>'''
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                        errors << "From non-nullable to nullable breaking change"
                    } else if (oldNullability && !newNullability) {
                        warnings << "Nullability changed from nullable to non-nullable"
                    }
                } else if (oldNullability != newNullability) {
                    errors << "Nullability breaking change"
                }
    
            } else if (member instanceof JApiConstructor) {
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy

            }
            return acceptedApiChanges
        }
    
        Map<String, String> toAcceptedChangesMap() {
            acceptedChanges.collectEntries { change ->
                [(new Gson().toJson(change.key)): change.value]
            }
        }
    
        static Map<ApiChange, String> fromAcceptedChangesMap(Map<String, String> acceptedChanges) {
            acceptedChanges.collectEntries { key, value ->
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

            def acceptedChange = changes.acceptedChanges.entrySet().iterator().next()
            def change = acceptedChange.key
            change.type == "org.gradle.api.initialization.ConfigurableIncludedBuild"
            change.member == "Implemented interface org.gradle.api.initialization.IncludedBuild"
            change.changes == ["Interface has been removed"]
            acceptedChange.value == "@Incubating interface has been removed"
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

     *
     * <p>
     * Reports simple superclass changes (e.g. the removal of a superclass) as a breaking change, as it affects what methods can be
     * called with the given type, even if the methods and fields inherited don't change.
     * </p>
     */
    class BinaryBreakingSuperclassChangeRule extends AbstractSuperClassChangesRule {
    
        BinaryBreakingSuperclassChangeRule(Map<String, Object> params) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

            internalInterface.name = replaceAsInternal(internalInterface.name)
    
            interfaces = ['internal': internalInterface,
                          'incubating': incubatingInterface]
        }
    
        def "#member change should not be reported"() {
            expect:
            noViolation(rule)
    
            where:
            member << [Mock(JApiMethod), Mock(JApiField), Mock(JApiImplementedInterface), Mock(JApiConstructor)]
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top