Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 141 for TRIM (0.02 seconds)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                infos.put(dstKey, srcInfo);
            }
        }
    
        private String getKey(String classifier, String extension) {
            return (classifier == null ? "" : classifier.trim()) + ':' + (extension == null ? "" : extension.trim());
        }
    
        private ArtifactRepository getRepository(
                RepositorySystemSession session, List<RemoteRepository> repositories, Class<?> repoClass, String repoId) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                    }
                    String newVersion;
                    if (version != null) {
                        HashSet<String> usedProperties = new HashSet<>();
                        newVersion = interpolator.interpolate(version.trim(), property -> {
                            if (!session.getConfigProperties().containsKey(property)) {
                                throw new IllegalArgumentException("Cannot inline property " + property);
                            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

                status.append(")");
            }
    
            return status.toString();
        }
    
        private String resourceName(String resourceName) {
            if (resourceName == null || resourceName.trim().isEmpty()) {
                return "";
            }
            final int pos = resourceName.lastIndexOf("/");
            if (pos == -1 || pos == resourceName.length() - 1) {
                return "";
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                                    } else {
                                        break;
                                    }
                                }
    
                                string = string.substring(0, i + 1).trim();
                                output.put(string, string);
                                System.out.print(o);
                            }
                        },
                        true))) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            }
            return table
        }
    
        private Element getSection(String title) {
            def sections = classSection.section.findAll {
                it.title[0] && it.title[0].text().trim() == title
            }
            if (sections.size() < 1) {
                throw new RuntimeException("Docbook content for $className does not contain a '$title' section.")
            }
            return sections[0]
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.2K bytes
    - Click Count (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): Provider<String> =
        providers.fileContents(repoRoot().file(path)).asText.map { it.trim() }
    
    // TODO Simplify the buildTimestamp() calculation if possible
    fun Project.buildTimestamp(): Provider<String> =
        providers.of(BuildTimestampValueSource::class) {
            parameters {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 30 16:56:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

                genericReturnType.toCodeTypeString()
            return "$cleanedTypeParameters $cleanedGenericReturnType $name(${parameters.joinToString { "${it.parameterizedType.toCodeTypeString()} ${it.name}" }}) {}".trim()
        }
    
        private
        fun Type.toCodeTypeString(): String {
            if (this is Class<*> && this.isArray) {
                return this.componentType.toCodeTypeString() + "[]"
            }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Jul 07 16:02:18 GMT 2024
    - 8.1K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

                task.getMilestone().convention(project.getProviders().fileContents(project.getIsolated().getRootProject().getProjectDirectory().file("version.txt")).getAsText().map(String::trim));
            });
    
            Configuration jquery = project.getConfigurations().create("jquery", conf -> {
                conf.setDescription("JQuery dependencies embedded by release notes.");
            });
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 18:26:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          this.sameSite = cookie.sameSite
        }
    
        fun name(name: String) =
          apply {
            require(name.trim() == name) { "name is not trimmed" }
            this.name = name
          }
    
        fun value(value: String) =
          apply {
            require(value.trim() == value) { "value is not trimmed" }
            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                // artifactId should still be removed since parent POM is in pomMap
                assertNull(parentElement.child("artifactId").orElse(null));
            }
    
            @Test
            @DisplayName("should not trim parent elements when parent is external")
            void shouldNotTrimParentElementsWhenParentIsExternal() throws Exception {
                String childPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 35.2K bytes
    - Click Count (0)
Back to Top