Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for isEmpty (0.17 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        val errors: List<ReportMessage>,
        val warnings: List<ReportMessage>,
        val information: List<ReportMessage>,
        val accepted: List<ReportMessage>
    ) {
    
        val isEmpty: Boolean
            get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty()
    
        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
    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)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                    onInlineContent();
                    visitor.onText(text);
                } else if (!elementStack.isEmpty() && !blockContent.contains(elementStack.getFirst())) {
                    visitor.onText(text);
                }
            }
    
            @Override
            void onEnd() {
                while (!elementStack.isEmpty()) {
                    visitor.onEndHtmlElement(elementStack.removeFirst());
                }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java

        private boolean hasBlocks(ClassDoc classDoc) {
            boolean hasBlocks = false;
            if (!classDoc.getClassBlocks().isEmpty()) {
                hasBlocks = true;
            }
            for (ClassExtensionDoc extensionDoc : classDoc.getClassExtensions()) {
                hasBlocks |= !extensionDoc.getExtensionBlocks().isEmpty();
            }
            return hasBlocks;
        }
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty()
            }
            assertFalse(subProjectFolders.isEmpty())
            return subProjectFolders
        }
    
        @Test
        fun allSubprojectsAreListed() {
            val knownSubprojectDirs = model.subprojects.subprojects.map { File("../", it.path) }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/kotlin/tasks/ParameterNamesIndex.kt

        @get:Inject
        internal
        abstract val classLoaderFactory: ClassLoaderFactory
    
        @TaskAction
        fun generate(): Unit =
            destinationFile.get().asFile.let {
                if (sources.isEmpty) it.writeText("")
                else generateParameterNamesResource(sources.files, classpath.files, it)
            }
    
        private
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java

            Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.getUserData().get("seenApiChanges");
            Set<ApiChange> left = new HashSet<>(acceptedApiChanges);
            left.removeAll(seenApiChanges);
            if (!left.isEmpty()) {
                String formattedLeft = CollectionUtils.join("\n", left);
                throw new RuntimeException("The following regressions are declared as accepted, but didn't match any rule:\n\n" + formattedLeft);
            }
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 09 08:16:49 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt

            val matches: List<ResolvedComponentResult> = resolutionResult.allComponents.filter { it != resolutionResult.root }
            if (matches.isEmpty()) {
                throw GradleException("Could not locate any matches for $notation")
            }
            matches.forEach { dep -> dest[name] = (dep.id as ModuleComponentIdentifier).version }
        }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 11:19:07 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java

            for (Element element : propertyDoc.getComment()) {
                section.appendChild(document.importNode(element, true));
            }
    
            if (!propertyDoc.getAdditionalValues().isEmpty()) {
                Element segmentedlist = document.createElement("segmentedlist");
                section.appendChild(segmentedlist);
                for (ExtraAttributeDoc attributeDoc : propertyDoc.getAdditionalValues()) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 3.5K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    ) {
        /**
         * Type usage is raw if type has no type parameters or if usage has no type arguments.
         */
        internal
        val isRaw: Boolean
            get() = type?.typeParameters?.isEmpty() != false || typeArguments.isEmpty()
    }
    
    
    enum class Variance {
    
        /**
         * Represent an invariant type argument.
         * e.g. `<T>`
         */
        INVARIANT,
    
        /**
    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)
  10. .teamcity/src/main/kotlin/model/bucket-extensions.kt

        noElementSplitFunction: (Int) -> List<R> = { throw IllegalArgumentException("More buckets than things to split") },
        canRunTogether: (T, T) -> Boolean = { _, _ -> true }
    ): List<R> {
        if (list.isEmpty()) {
            return noElementSplitFunction(expectedBucketNumber)
        }
        if (expectedBucketNumber == 1) {
            return listOf(smallElementAggregateFunction(list))
        }
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Nov 17 05:17:44 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top