Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isEmpty (0.19 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

                throw new RuntimeException("Docbook content for $className does not contain a '$title' section.")
            }
            return sections[0]
        }
    
        Element getDescription() {
            if (comment.isEmpty() || comment[0].tagName != 'para') {
                throw new RuntimeException("Class $className does not have a description paragraph.")
            }
            return comment[0]
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Viewed (0)
  2. .github/workflows/CheckBadMerge.groovy

                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
            return getStdout("git show --format=%P --no-patch $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
        @groovy.transform.ToString
        static class ExecResult {
            String stdout
    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)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
            return null
        }
    
    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)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

        PropertyDoc forClass(ClassDoc referringClass, Collection<ExtraAttributeDoc> additionalValues) {
            def refererMetaData = referringClass.classMetaData
            if (refererMetaData == this.referringClass && additionalValues.isEmpty()) {
                return this
            }
            return new PropertyDoc(refererMetaData, metaData, comment, additionalValues as List)
        }
    
        String getId() {
            return id
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.1K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            newInterfaces.keySet().removeAll(oldInterfaces.keySet())
    
            if (newInterfaces.isEmpty()) {
                return null
            }
    
            List<String> changes = filterChangesToReport(newClass, newInterfaces)
            if (changes.isEmpty()) {
                return null
            }
            return acceptOrReject(c, changes, Violation.error(c, " introduces internal or incubating interfaces"))
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

                            list << child
                        }
                        return list
                    }
                }
    
                if (trimmedContent.isEmpty()) {
                    target.append('/>')
                    return
                }
                target.append('>')
    
    
                trimmedContent.each { child ->
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            Set<CtMethod> newMethods = collectAllPublicApiMethods(newClass.superclass)
    
            oldMethods.removeAll(newMethods)
    
            if (oldMethods.isEmpty()) {
                return null
            }
    
            List<String> changes = filterChangesToReport(oldClass, oldMethods)
            if (changes.isEmpty()) {
                return null
            }
            return acceptOrReject(c, changes, Violation.error(c, " methods removed in internal super class"))
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top