Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 295 for trim (0.05 sec)

  1. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("1", "trim", StringUtil.ltrim("zzzytrim", "xyz"));
            assertEquals("2", "", StringUtil.ltrim("xyz", "xyz"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRtrim() throws Exception {
            assertEquals("trim", StringUtil.rtrim("trimxxxx", "x"));
            assertEquals("", StringUtil.rtrim("xyz", "xyz"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

                            inputs[i] = unescape(inputStrings.get(i)).trim();
                        }
    
                        final List<String> outputStrings = split(sides.get(1), ",");
                        outputs = new String[outputStrings.size()];
                        for (int i = 0; i < outputs.length; i++) {
                            outputs[i] = unescape(outputStrings.get(i)).trim();
                        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

                        fessConfig.getIndexFieldVersion()));
            }
            split(fessConfig.getQueryAdditionalAnalyzedFields(), ",")
                    .of(stream -> stream.map(String::trim).filter(StringUtil::isNotBlank).forEach(s -> notAnalyzedFieldSet.remove(s)));
            split(fessConfig.getQueryAdditionalDefaultFields(), ",").of(stream -> stream.filter(StringUtil::isNotBlank).map(s -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 04:30:56 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/netbios/Lmhosts.java

            String line;
            BufferedReader br = new BufferedReader(r);
    
            while ( ( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if ( line.length() == 0 ) {
                    continue;
                }
                else if ( line.charAt(0) == '#' ) {
                    if ( line.startsWith("#INCLUDE ") ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
            return buf.toString();
        }
    
        protected String normalizeUrl(final String u) {
            if (u == null) {
                return null;
            }
    
            // trim
            String url = u.trim();
    
            int idx = url.indexOf('#');
            if (idx >= 0) {
                url = url.substring(0, idx);
            }
    
            url = url.replace("/./", "/");
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. internal/s3select/sql/funceval.go

    	sqlFnLower           FuncName = "LOWER"
    	sqlFnSubstring       FuncName = "SUBSTRING"
    	sqlFnTrim            FuncName = "TRIM"
    	sqlFnUpper           FuncName = "UPPER"
    )
    
    var (
    	errUnimplementedCast = errors.New("This cast not yet implemented")
    	errNonStringTrimArg  = errors.New("TRIM() received a non-string argument")
    	errNonTimestampArg   = errors.New("Expected a timestamp argument")
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/SamlCredential.java

            if (StringUtil.isNotBlank(value)) {
                split(value, ",").of(stream -> stream.forEach(list::add));
            }
            return list.stream().filter(StringUtil::isNotBlank).map(String::trim).toArray(n -> new String[n]);
        }
    
        protected String[] getDefaultRolesAsArray() {
            final List<String> list = new ArrayList<>();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                    break;
                case 5:
                    if ( ch == '=' ) {
                        key = str.substring(mark, si).trim();
                        mark = si + 1;
                    }
                    else if ( ch == ',' || ch == ']' ) {
                        String val = str.substring(mark, si).trim();
                        mark = si + 1;
                        if ( key == null )
                            key = "endpoint";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
            fileProtocols = split(fessConfig.getCrawlerFileProtocols(), ",")
                    .get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> s.trim() + ":").toArray(n -> new String[n]));
    
            loadProtocols("org.codelibs.fess.net.protocol");
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top