Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 215 for TRIM (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            }
    
            // Verify content is valid JSON
            assertTrue("Content should start with {", contentNew.trim().startsWith("{"));
            assertTrue("Content should end with }", contentNew.trim().endsWith("}"));
            assertTrue("Content should be substantial", contentNew.length() > 100);
    
            // Verify it contains expected mapping fields
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/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) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

         */
        protected String stripCodeFences(final String response) {
            if (response == null) {
                return "";
            }
            String stripped = response.trim();
            if (stripped.startsWith("```json")) {
                stripped = stripped.substring(7);
            } else if (stripped.startsWith("```")) {
                stripped = stripped.substring(3);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            final int replyCode = client.getReplyCode();
            if (replyCode >= 200 && replyCode < 300) {
                return;
            }
            throw new CrawlingAccessException("Failed FTP request: " + client.getReplyString().trim());
        }
    
        /**
         * Determines the character set for the given file.
         * Currently returns the default charset configured for this client.
         *
         * @param file The file to determine the charset for
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    String line;
                    StringBuilder contentBuilder = new StringBuilder();
                    while ((line = reader.readLine()) != null) {
                        if (!line.trim().startsWith("#")) {
                            existingClasses.add(line.trim());
                        }
                        contentBuilder.append(line).append("\n");
                    }
                    existingContent = contentBuilder.toString();
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

            }
        }
    
        private final Function<String, LifecycleMojo> fromGoalIntoLifecycleMojo = s -> {
            LifecycleMojo lifecycleMojo = new LifecycleMojo();
            lifecycleMojo.setGoal(s.trim());
            return lifecycleMojo;
        };
    
        @Override
        public String toString() {
            return Optional.ofNullable(getMojos()).orElse(Collections.emptyList()).stream()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            String localRepoHead = mergedProps.get(Constants.MAVEN_REPO_LOCAL_HEAD);
            if (localRepoHead != null) {
                Arrays.stream(localRepoHead.split(","))
                        .filter(p -> p != null && !p.trim().isEmpty())
                        .map(this::resolve)
                        .forEach(paths::add);
            }
            paths.add(Paths.get(request.getLocalRepository().getBasedir()));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/JenkinsCIDetector.java

        private static final String WORKSPACE = "WORKSPACE";
    
        @Override
        public Optional<CIInfo> detectCI() {
            String workspace = System.getenv(WORKSPACE);
            if (workspace != null && !workspace.trim().isEmpty()) {
                return Optional.of(new CIInfo() {
                    @Override
                    public String name() {
                        return NAME;
                    }
                });
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. internal/config/dns/dns_path.go

    		return strings.Join(labels[:ll-1], ".") + "."
    	}
    	return dns.Fqdn(strings.Join(labels, "."))
    }
    
    // msgUnPath converts a etcd path to domainName.
    func msgUnPath(s string) string {
    	ks := strings.Split(strings.Trim(s, etcdPathSeparator), etcdPathSeparator)
    	for i, j := 0, len(ks)-1; i < j; i, j = i+1, j-1 {
    		ks[i], ks[j] = ks[j], ks[i]
    	}
    	return strings.Join(ks, ".")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 28 17:31:12 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/config/PropertyConfiguration.java

            }
    
            value = props.getProperty("jcifs.smb.client.loadBalancingStrategy");
            if (value != null && !value.trim().isEmpty()) {
                this.loadBalancingStrategy = value.trim();
            }
    
            value = props.getProperty("jcifs.smb.client.channelHealthCheckInterval");
            if (value != null) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top