Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 141 for TRIM (0.07 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
                        groupId = p[0];
                        artifactId = p[1];
                        version = null;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                result = true;
            } else {
                // process the list
                String[] repos = pattern.split(",");
                for (String repo : repos) {
                    repo = repo.trim();
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
                        if (repo.substring(1).equals(originalId)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                .first()
                ?.text()
                ?.lines()
                ?.firstOrNull { it.contains("buildToolsVersion = ") }
                ?.substringAfter("buildToolsVersion = ")
                ?.trim('"', ' ')
                ?: error("Couldn't find buildToolsVersion on $buildToolsUrl")
    
        companion object {
    
            @VisibleForTesting
            @JvmStatic
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                }
            }
        }
    
        private GoalSpec parseGoalSpec(String goalSpec) {
            GoalSpec gs = new GoalSpec();
    
            String[] p = goalSpec.trim().split(":");
    
            if (p.length == 3) {
                // <groupId>:<artifactId>:<goal>
                gs.groupId = p[0];
                gs.artifactId = p[1];
                gs.goal = p[2];
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            for (Plugin plugin : plugins) {
                if (plugin.getGroupId() == null
                        || (plugin.getGroupId() != null
                                && plugin.getGroupId().trim().isEmpty())) {
                    addViolation(
                            problems,
                            Severity.FATAL,
                            Version.V20,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  6. cmd/httprange.go

    	if !strings.HasPrefix(rangeString, byteRangePrefix) {
    		return nil, fmt.Errorf("'%s' does not start with '%s'", rangeString, byteRangePrefix)
    	}
    
    	// Trim byte range prefix.
    	byteRangeString := strings.TrimPrefix(rangeString, byteRangePrefix)
    
    	// Check if range string contains delimiter '-', else return error. eg. "bytes=8"
    	sepIndex := strings.Index(byteRangeString, "-")
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

            void shouldProvideMeaningfulDescription() {
                String description = strategy.getDescription();
    
                assertNotNull(description, "Description should not be null");
                assertFalse(description.trim().isEmpty(), "Description should not be empty");
                assertTrue(
                        description.toLowerCase().contains("compatibility")
                                || description.toLowerCase().contains("fix"),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            }
    
            Element relativePathElement = parentElement.child(RELATIVE_PATH).orElse(null);
            String currentRelativePath =
                    relativePathElement != null ? relativePathElement.textContent().trim() : DEFAULT_PARENT_RELATIVE_PATH;
    
            // Try to find the correct parent POM
            String parentGroupId = parentElement.childText(MavenPomElements.Elements.GROUP_ID);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

            List<String> pluginGroups = settings.getPluginGroups();
    
            if (pluginGroups != null) {
                for (int i = 0; i < pluginGroups.size(); i++) {
                    String pluginGroup = pluginGroups.get(i).trim();
    
                    if (pluginGroup.isEmpty()) {
                        addViolation(
                                problems, Severity.ERROR, "pluginGroups.pluginGroup[" + i + "]", null, "must not be empty");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            if (contentLength == -1L && lowercaseHeader.startsWith("content-length:")) {
              contentLength = header.substring(15).trim().toLong()
            }
            if (lowercaseHeader.startsWith("transfer-encoding:") &&
              lowercaseHeader.substring(18).trim() == "chunked"
            ) {
              chunked = true
            }
          }
    
          val peek = dispatcher.peek()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 02 20:36:00 GMT 2025
    - 40.3K bytes
    - Click Count (0)
Back to Top