Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for nulla (0.21 sec)

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

                return null
            }
    
            if (!changed(member)) {
                return null
            }
    
            Optional<CtClass> oldClass = member.oldClass
            Optional<CtClass> newClass = member.newClass
            if (!oldClass.isPresent() || !newClass.isPresent()) {
                // breaking change would be reported
                return null
            }
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            cl.delegate = builder
            cl.call()
            def firstChild = parent.getFirstChild()
            builder.elements.each { element ->
                parent.insertBefore(element, firstChild)
            }
        }
    
        public static void addBefore(Node sibling, Closure cl) {
            DomBuilder builder = new DomBuilder(sibling.ownerDocument, null)
            cl.delegate = builder
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Aug 11 15:32:19 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            1 * action.execute(value2)
            0 * action._
        }
    
        def canPersistMetaData() {
            TestDomainObject value = new TestDomainObject('a')
            File file = Files.createTempFile(tmpDir.toPath(), null, null).toFile()
            repository.put('class', value)
    
            when:
            repository.store(file)
            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            // Tests will not supply these
            this.apiChangesJsonFile = params.get("apiChangesJsonFile") ? new File(params.get("apiChangesJsonFile") as String) : null
            this.projectRootDir = params.get("projectRootDir") ? new File(params.get("projectRootDir") as String) : null
        }
    
        protected BinaryCompatibilityRepository getRepository() {
    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)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                            alert("You must enter a reason to accept all changes.");
                            return;
                        }
    
                        var textToWrite = JSON.stringify(appendErrorCorrections(reason), null, 4) + "\\n";
                        var textFileAsBlob = new Blob([textToWrite], {type:'text/plain'});
                        var fileNameToSaveAs = 'accepted-public-api-changes.json';
    
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

            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)
  9. 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)
  10. 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)
Back to top