Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isWhitespace (0.06 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final StringBuilder buf = new StringBuilder(searchWord.length());
            char prev = 0;
            for (final char c : searchWord.toCharArray()) {
                if (!Character.isWhitespace(c)) {
                    buf.append(c);
                } else if (!Character.isWhitespace(prev)) {
                    buf.append(' ');
                }
                prev = c;
            }
            final String[] words = buf.toString().trim().split(" ");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        private static void notBlank(String str, String message) {
            final int strLen = str != null ? str.length() : 0;
            if (strLen > 0) {
                for (int i = 0; i < strLen; i++) {
                    if (!Character.isWhitespace(str.charAt(i))) {
                        return;
                    }
                }
            }
            throw new IllegalArgumentException(message);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                boolean isBlankParentUrl = true;
    
                if (parentUrl != null) {
                    for (int i = 0; i < parentUrl.length(); i++) {
                        if (!Character.isWhitespace(parentUrl.charAt(i))) {
                            isBlankParentUrl = false;
                        }
                    }
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                String val = valueLines.get(i);
                valueLines.set(i, typed ? val : escapeJava(val) /*+ (i < lastLine? "\\": "")*/);
                while (!val.isEmpty() && Character.isWhitespace(val.charAt(0))) {
                    val = val.substring(1);
                }
                sb.append(val);
            }
            String[] property = PropertiesReader.parseProperty(sb.toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    boolean isBlankModule = true;
                    if (module != null) {
                        for (int j = 0; j < module.length(); j++) {
                            if (!Character.isWhitespace(module.charAt(j))) {
                                isBlankModule = false;
                            }
                        }
                    }
    
                    if (isBlankModule) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top