Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 200 for if (0.13 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                public int read(char[] cbuf, int off, int len) throws IOException {
                    if (delegate == null) {
                        delegate = transform(original);
                    }
                    return delegate.read(cbuf, off, len);
                }
    
                @Override
                public void close() throws IOException {
                    if (delegate != null) {
                        delegate.close();
                    }
                }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

            tracker = it.service
        }
    }
    
    fun DistributionTest.configureGradleTestEnvironment() {
        val taskName = name
    
        gradleInstallationForTest.apply {
            if (executerRequiresDistribution(taskName)) {
                gradleHomeDir = if (executerRequiresFullDistribution(taskName)) {
                    configurations["${prefix}TestFullDistributionRuntimeClasspath"]
                } else {
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Tue Nov 28 20:40:40 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                Element ulinkElement = doc.createElement('ulink')
    
                String href
                if (style == 'dsldoc') {
                    href = "${dsldocUrl.get()}/${className}.html"
                } else if (style == "javadoc") {
                    def base = javadocUrl.get()
                    def packageName = classMetaData.packageName
    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)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

            accept(object : MemberValueVisitorAdapter() {
                override fun visitIntegerMemberValue(node: IntegerMemberValue) {
                    value = node.value
                }
            })
            if (value == null) throw annotationMemberValueNotFound(typeOf<Int>())
            return value!!
        }
    
    
    internal
    val MemberValue.stringValue: String
        get() {
            var value: String? = null
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
            if (member instanceof JApiMethod || member instanceof JApiField || member instanceof JApiClass) {
                if (!isIncubating((JApiHasAnnotations) member)) {
                    return null;
                }
                if (member instanceof JApiMethod && isOverride((JApiMethod) member)) {
                    return null;
                }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

            }.toMap()
    
            val result = mutableMapOf<TestCoverage, List<SmallSubprojectBucket>>()
            for (stage in model.stages) {
                for (testCoverage in stage.functionalTests) {
                    if (testCoverage.testType !in listOf(TestType.allVersionsCrossVersion, TestType.quickFeedbackCrossVersion, TestType.soak)) {
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu Feb 15 17:04:41 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ElementWarningsRenderer.java

    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class ElementWarningsRenderer {
        public void renderTo(DslElementDoc elementDoc, String type, Element parent) {
            if (elementDoc.isDeprecated()) {
                Document document = parent.getOwnerDocument();
                Element caution = document.createElement("caution");
                parent.appendChild(caution);
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

                .text()
                .substringBefore(" If you did this intentionally")
        }
    
    
    private
    fun Document.scrapeMessagesForSeverity(severity: String): List<ReportMessage> =
    
        select("tr.severity-$severity").map { tr ->
            val entry = tr.select("td")[1]
            ReportMessage(
                entry.select("span")
                    .text().substringBefore(" If you did this intentionally"),
                entry.select("ul li")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Sep 21 16:02:23 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

                annotationNames.set(i, transformer.transform(annotationNames.get(i)));
            }
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            AbstractLanguageElement that = (AbstractLanguageElement) o;
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    val errorproneExtension = project.extensions.create<ErrorProneProjectExtension>("errorprone", project.objects.listProperty<String>())
    errorproneExtension.disabledChecks.addAll(
        // DISCUSS
        "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals()
        "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason
    
        // NEVER
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 30 10:26:21 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top