Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for null (0.13 sec)

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

                    def newNullability = newParametersNullability[idx]
                    if (oldNullability && !newNullability) {
                        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()
    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)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    @Override
                    void method() { }
                }
            """
    
            then:
            incubatingMissingRule.maybeViolation(jApiType) == null
            sinceMissingRule.maybeViolation(jApiType) == null
    
            where:
            apiElement | jApiTypeName
            'method'   | 'jApiMethod'
            'field'    | 'jApiField'
        }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Dec 01 20:12:19 GMT 2023
    - 16K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        @TempDir
        File testDir
    
        ViolationCheckContext context = new ViolationCheckContext() {
            Map userData = [seenApiChanges: [] as Set]
    
            String getClassName() { return null }
    
            Map<String, ?> getUserData() { return userData }
    
            Object getUserData(String key) {
                return userData[key]
            }
    
            void putUserData(String key, Object value) {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                    if (delegate != null) {
                        delegate.close();
                    }
                }
            };
            this.lock = this.in;
        }
    
        private Reader transform(Reader in) throws IOException {
            if (jqueryFiles == null || releaseNotesJavascript == null || baseCss == null || releaseNotesCss == null) {
                throw new GradleException("filter isn't ready to transform");
    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)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

                if (!isIncubating((JApiHasAnnotations) member)) {
                    return null;
                }
                if (member instanceof JApiMethod && isOverride((JApiMethod) member)) {
                    return null;
                }
                return Violation.info(member, "New public API in " + getCurrentVersion() + " (@Incubating)");
            }
            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. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

            getByName("${prefix}TestRuntimeClasspath") {
                extendsFrom(distributionRuntimeOnly)
                if (platformImplementation != null) {
                    extendsFrom(platformImplementation)
                }
            }
            if (platformImplementation != null) {
                getByName("${prefix}TestCompileClasspath") {
                    extendsFrom(getByName("platformImplementation"))
                }
            }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Mon Feb 12 13:19:06 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        override fun visitAttribute(attr: Attribute?) = Unit
        override fun visitInnerClass(name: String?, outerName: String?, innerName: String?, access: Int) = Unit
        override fun visitField(access: Int, name: String?, desc: String?, signature: String?, value: Any?): FieldVisitor? = null
    }
    
    
    private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy

            super(params)
        }
    
        @Override
        Violation maybeViolation(JApiCompatibility member) {
    
            if (isNewOrRemoved(member) || !(member instanceof JApiMethod)) {
                return null
            }
    
            JApiMethod method = (JApiMethod) member
    
            def metadata = KotlinMetadataQueries.INSTANCE
    
            def oldMethod = method.oldMethod.get()
            def newMethod = method.newMethod.get()
    
    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)
  9. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt

        }
    
        override fun obtain(): String? = parameters.run {
    
            val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull
            if (buildTimestampFromReceipt != null) {
                println("Using timestamp from incoming build receipt: $buildTimestampFromReceipt")
                return buildTimestampFromReceipt
            }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

            project.rootProject.name == "build-logic" -> rootProject.gradle.parent?.rootProject
            else -> project.gradle.parent?.rootProject
        }
    
        if (gradleRootProject != null && System.getenv("TEAMCITY_VERSION") != null) {
            val rootProjectName = rootProject.name
            val isInBuildLogic = rootProjectName == "build-logic"
            gradle.taskGraph.whenReady {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top