Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 295 for trim (0.03 sec)

  1. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                final DuplicateHostHelper duplicateHostHelper = ComponentUtil.getDuplicateHostHelper();
    
                // set urls
                split(urlsStr, "[\r\n]").of(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).distinct().forEach(urlValue -> {
                    if (!urlValue.startsWith("#") && protocolHelper.isValidWebProtocol(urlValue)) {
                        final String u = duplicateHostHelper.convert(urlValue);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. .github/workflows/CheckBadMerge.groovy

                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
            return getStdout("git show --format=%P --no-patch $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
        @groovy.transform.ToString
        static class ExecResult {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  3. internal/s3select/sql/analysis.go

    		}
    		for _, arg := range e.SFunc.ArgsList {
    			result.combine(arg.analyze(s))
    		}
    		return result
    
    	case sqlFnTrim:
    		if e.Trim.TrimChars != nil {
    			result.combine(e.Trim.TrimChars.analyze(s))
    		}
    		if e.Trim.TrimFrom != nil {
    			result.combine(e.Trim.TrimFrom.analyze(s))
    		}
    		return result
    
    	case sqlFnSubstring:
    		errVal := fmt.Errorf("Invalid argument(s) to %s", string(funcName))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    internal fun Map<String, String>.commonToHeaders(): Headers {
      // Make a defensive copy and clean it up.
      val namesAndValues = arrayOfNulls<String>(size * 2)
      var i = 0
      for ((k, v) in this) {
        val name = k.trim()
        val value = v.trim()
        headersCheckName(name)
        headersCheckValue(value, name)
        namesAndValues[i] = name
        namesAndValues[i + 1] = value
        i += 2
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

                        form.virtualHosts = stream(entity.getVirtualHosts())
                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
                        form.name = null;
                    });
                    form.crudMode = CrudMode.CREATE;
                });
            });
        }
    
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                            updater.write("# " + line);
                        }
                        continue;
                    }
    
                    inputs = m.group(1).trim().split(",");
                    output = m.group(2).trim();
    
                    if (inputs == null || output == null || inputs.length == 0) {
                        logger.warn("Failed to parse {} in {}", line, path);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            if (StringUtil.isBlank(value)) {
                return StringUtil.EMPTY_STRINGS;
            }
            return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]));
        }
    
        protected static String[] getDefaultRolesAsArray() {
            final String value = ComponentUtil.getFessConfig().getSystemProperty("oic.default.roles");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/PredicatesTest.java

        new EqualsTester()
            .addEqualityGroup(trimEqualsFoo, Predicates.compose(equalsFoo, trim))
            .addEqualityGroup(equalsFoo)
            .addEqualityGroup(trim)
            .addEqualityGroup(Predicates.compose(equalsFoo, identity))
            .addEqualityGroup(Predicates.compose(equalsBar, trim))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                    buf.append("</item>");
                }
            }
            buf.append("</list>");
            // TODO support other type
            // TODO trim(default)
            return "<field name=\"" + XmlUtil.escapeXml(name) + "\">" + buf.toString().trim() + "</field>\n";
        }
    
        protected String getAdditionalData(final ResponseData responseData, final Document document) {
            return "";
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top