Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for elseif (0.4 sec)

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

        protected boolean isInternal(CtClass c) {
            if (c.name.startsWith("java.")) {
                return false
            } else if (c.name.contains('.internal.')) {
                return true
            } else {
                return !publicApiPatterns.any { it.matcher(c.name).find() }
            }
        }
    Groovy
    - Registered: Wed Apr 24 11:36:11 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

            if (acceptationReason != null) {
                seenApiChanges.add(change)
                return Violation.accept(member, "${rejection.getHumanExplanation()}. Reason for accepting this: <b>$acceptationReason</b>")
            } else if (member instanceof JApiMethod && UpgradedProperties.shouldAcceptForUpgradedProperty(member, rejection, context)) {
                seenApiChanges.add(change)
    Groovy
    - Registered: Wed Apr 24 11:36:11 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/EnrichedReportRenderer.groovy

                        result.acceptedApiChanges.sort((a, b) => { 
                            if ((a.type +'#' + a.member) > (b.type + '#' + b.member)) {
                                return 1; 
                            } else {
                                return -1;
                            }
                        });
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            Element element = createNode(name, attributes)
            if (value instanceof Node) {
                element.appendChild(document.importNode(value, true))
            } else {
                element.appendChild(document.createTextNode(value as String))
            }
            return element
        }
    
        protected Element createNode(Object name, Object value) {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                    href = "${dsldocUrl.get()}/${className}.html"
                } else if (style == "javadoc") {
                    def base = javadocUrl.get()
                    def packageName = classMetaData.packageName
                    href = "$base/${packageName.replace('.', '/')}/${className.substring(packageName.length()+1)}.html"
                } else {
                    throw new InvalidUserDataException("Unknown api link style '$style'.")
    Groovy
    - Registered: Wed Apr 24 11:36:11 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/AssembleDslDocTask.groovy

            if (title.matches('(?i).* types')) {
                mergeTypes(typeTable, model)
            } else if (title.matches('(?i).* blocks')) {
                mergeBlocks(typeTable, model)
            } else {
                return
            }
    
            typeTable['@role'] = 'dslTypes'
        }
    
        def mergeBlocks(Element blocksTable, DslDocModel model) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            CtClass current = c
            while (current != null) {
                if (containsMethod(current, method)) {
                    classesContainingMethod.add(current)
                } else {
                    break
                }
                current = current.getSuperclass()
            }
    
            for (int i = classesContainingMethod.size() - 1; i > 0; --i) {
                current = classesContainingMethod.get(i)
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    } 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 Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. .github/workflows/CheckBadMerge.groovy

                if (!badFiles.isEmpty()) {
                    throw new RuntimeException("Found bad files in merge commit $commit: $badFiles")
                } else {
                    println("No bad files found in $commit")
                }
            } else {
                println("$commit is not a merge commit we're looking for. Parents: $parentCommits, p1Branches: $p1Branches, p2Branches: $p2Branches")
            }
        }
    
        /**
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
Back to top