Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for Return (0.15 sec)

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

            return blockMethod.description;
        }
    
        List<Element> getComment() {
            return blockMethod.comment
        }
    
        boolean isDeprecated() {
            return blockProperty.deprecated || blockMethod.deprecated
        }
    
        boolean isIncubating() {
            return blockProperty.incubating || blockMethod.incubating
        }
    
        boolean isReplaced() {
            return blockProperty.replaced
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

        }
    
        String getId() {
            return id
        }
    
        String getName() {
            return name
        }
    
        PropertyMetaData getMetaData() {
            return metaData
        }
    
        boolean isDeprecated() {
            return metaData.deprecated && !referringClass.deprecated
        }
    
        boolean isIncubating() {
            return metaData.incubating || metaData.ownerClass.incubating
        }
    
    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)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            AbstractLanguageElement that = (AbstractLanguageElement) o;
            return Objects.equals(rawCommentText, that.rawCommentText) &&
                Objects.equals(annotationNames, that.annotationNames);
        }
    
        @Override
        public int hashCode() {
    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)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

            (1..10).forEach { page ->
                val prPage = getMergedContributorPullRequests(page)
                prs.addAll(prPage)
                if (prPage.size < pageSize) {
                    return@forEach
                }
            }
            return prs
                .filter { it.milestone?.title?.startsWith(milestone.get()) == true }
                .map { it.user.login }
                .toSet()
                .map { getUserInfo(it) }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon May 16 05:03:11 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/CIBuildModel.kt

                return CompileAll(model, stage)
            }
        },
        SanityCheck {
            override fun create(model: CIBuildModel, stage: Stage): BaseGradleBuildType {
                return SanityCheck(model, stage)
            }
        },
        BuildDistributions {
            override fun create(model: CIBuildModel, stage: Stage): BaseGradleBuildType {
                return BuildDistributions(model, stage)
            }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 23 01:54:48 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    warnings << "Return nullability changed from nullable to non-nullable"
                }
            }
    
            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(" "))
            }
    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)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                        public String foo() { return "bar"; }
                    }
                """,
                v2 = """
                    public class Source {
                        @Nullable public String nonFinalField = null;
                        @Nullable public final String finalField = null;
                        @Nullable public String foo() { return "bar"; }
                    }
                """
            ) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.1K bytes
    - Viewed (0)
  8. .github/workflows/CheckBadMerge.groovy

                        return true
                    }
                }
            } catch (AbortException ignore) {
                return false
            }
            return false
        }
    
        static class AbortException extends RuntimeException {
        }
    
    Groovy
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        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) {
                userData[key] = 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)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            _ * classMetaData.className >> name
            return classMetaData
        }
    
        def classDoc(String name = 'org.gradle.Class') {
            ClassDoc doc = Mock()
            _ * doc.name >> name
            _ * doc.toString() >> "ClassDoc '$name'"
            return doc
        }
    
        def property(String name, ClassMetaData classMetaData) {
            return property([:], name, classMetaData)
        }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.5K bytes
    - Viewed (0)
Back to top