Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for ltrim (0.13 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java

                File file = new File(artifactBasedir, "artifact-1.0.jar");
                assertEquals("dummy", new String(Files.readAllBytes(file.toPath()), StandardCharsets.UTF_8).trim());
    
                artifactDeployer.deploy(file, artifact, remoteRepository(), localRepository());
    
                ArtifactRepository remoteRepository = remoteRepository();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                }
                restrictions.add(restriction);
                upperBound = restriction.getUpperBound();
    
                process = process.substring(index + 1).trim();
    
                if (process.startsWith(",")) {
                    process = process.substring(1).trim();
                }
            }
    
            if (!process.isEmpty()) {
                if (!restrictions.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                }
            }
            configProps.remove(INCLUDES_PROPERTY);
        }
    
        private static void trimValues(MavenProperties configProps) {
            configProps.replaceAll((k, v) -> v.trim());
        }
    
        private static String nextLocation(StringTokenizer st) {
            boolean optional = false;
            String retVal = null;
    
            if (st.countTokens() > 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

            String k = null;
            for (String line : Files.readAllLines(Paths.get("src/test/resources/dag.txt"))) {
                if (line.startsWith("\t")) {
                    data.add(new String[] {k, line.trim()});
                } else {
                    k = line;
                }
            }
            Collections.shuffle(data);
    
            long t0 = System.nanoTime();
            Graph g = new Graph();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. 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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    break;
                }
            }
    
            return fullMessage.trim();
        }
    
        private String join(String message1, String message2) {
            String message = "";
    
            if (message1 != null && !message1.isEmpty()) {
                message = message1.trim();
            }
    
            if (message2 != null && !message2.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        public FesenClient() {
            address = System.getProperty(HTTP_ADDRESS, "localhost:9200").trim();
            final String targets = System.getProperty(TARGET_INDICES);
            if (StringUtil.isNotBlank(targets)) {
                targetIndices = Arrays.stream(targets.split(",")).map(String::trim).toArray(n -> new String[n]);
            }
        }
    
        public void setAddress(final String address) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

         */
        private static String protocol(final String url) {
            final int pos = url.indexOf(':');
    
            if (pos == -1) {
                return "";
            }
            return url.substring(0, pos).trim();
        }
    
        /**
         * Derive the path portion of the given URL.
         *
         * @param url the repository URL
         * @return the basedir of the repository
         * TODO need to URL decode for spaces?
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            String localRepoTail = mergedProps.get(Constants.MAVEN_REPO_LOCAL_TAIL);
            if (localRepoTail != null) {
                Arrays.stream(localRepoTail.split(","))
                        .filter(p -> p != null && !p.trim().isEmpty())
                        .map(Paths::get)
                        .forEach(paths::add);
            }
            sessionBuilder.withLocalRepositoryBaseDirectories(paths);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

         * <p><b>NOTE:</b> The object-graph nagivation actually takes place via the
         * {@link ReflectionValueExtractor} class.</p>
         */
        public Object getValue(String expression) {
            if (expression == null || expression.trim().isEmpty()) {
                return null;
            }
    
            try {
                return ReflectionValueExtractor.evaluate(expression, root, false);
            } catch (Exception e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top