Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for toString (0.16 sec)

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

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import groovy.transform.Immutable
    import groovy.transform.ToString
    
    @Immutable @ToString
    class AcceptedApiChange {
        String type
        String member
        String acceptation
        List<String> changes
    
        ApiChange toApiChange() {
            return new ApiChange(type, member, changes ?: [])
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            _ * classMetaData.className >> name
            return classMetaData
        }
    
        def classDoc(String name = 'org.gradle.Class') {
            ClassDoc doc = Mock()
            _ * doc.name >> name
            _ * doc.toString() >> "ClassDoc '$name'"
            return doc
        }
    
        def property(String name, ClassMetaData classMetaData) {
            return property([:], name, classMetaData)
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.6K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            new JsonWriter(stringWriter).withCloseable { writer ->
                writer.setIndent("    ")
                new Gson().toJson(acceptanceJson, AcceptedApiChange, writer)
            }
            return stringWriter.toString()
        }
    
        String getCurrentVersion() {
            return context.getUserData().get("currentVersion")
        }
    
        private String relativePathToApiChanges() {
    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)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy

                    result.append("</$name>")
                }
    
                @Override
                void onText(String text) {
                    result.append(text)
                }
            })
            return result.toString()
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                fixProgramListings(doc)
            }
        }
    
        def addVersionInfo(Document doc) {
            Element releaseInfo = doc.createElement('releaseinfo')
            releaseInfo.appendChild(doc.createTextNode(version.get().toString()))
            doc.documentElement.bookinfo[0]?.appendChild(releaseInfo)
        }
    
        def fixProgramListings(Document doc) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy

        final Element valueCell
    
        ExtraAttributeDoc(Element titleCell, Element valueCell) {
            this.titleCell = titleCell
            this.valueCell = valueCell
        }
    
        @Override
        String toString() {
            return "attribute[key: $key, value: $valueCell.textContent]"
        }
    
        String getKey() {
            return titleCell.textContent
        }
    
        List<Node> getTitle() {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                        errors << "Parameter $idx from null accepting to non-null accepting breaking change".toString()
                    } else if (!oldNullability && newNullability) {
                        warnings << "Parameter $idx nullability changed from non-nullable to nullable".toString()
                    }
                }
            }
    
            if (member instanceof JApiField) {
    
    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)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy

    @Immutable
    class ApiChange {
        String type
        String member
        List<String> changes
    
        static ApiChange parse(Object json) {
            new ApiChange(json.type, json.member, json.changes ?: [])
        }
    
        String toString() {
            def formattedMember = member - "$type."
            "$type - $formattedMember - $changes"
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1023 bytes
    - Viewed (0)
  9. .github/workflows/CheckBadMerge.groovy

            "platforms/core-runtime/launcher/src/main/resources/release-features.txt"
        ]
    
        static void main(String[] commits) {
            println("Commits to check: ${Arrays.toString(commits)}")
            try {
                commits.each { checkCommit(it) }
            } finally {
                THREAD_POOL.shutdown()
            }
        }
    
        static void checkCommit(String commit) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            _ * classMetaData.className >> name
            return classMetaData
        }
    
        def classDoc(String name = 'org.gradle.Class') {
            ClassDoc doc = Mock()
            _ * doc.name >> name
            _ * doc.toString() >> "ClassDoc '$name'"
            return doc
        }
    
        def property(String name, ClassMetaData classMetaData) {
            return property([:], name, classMetaData)
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.5K bytes
    - Viewed (0)
Back to top