Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 262 for Trim (0.02 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java

            Assertions.assertNotEquals(
                    "${session.rootDirectory}", invokerRequest.userProperties().get("foo"));
            Assertions.assertFalse(invokerRequest.userProperties().get("foo").trim().isEmpty());
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

         *
         * @param text
         *            The text to trim
         * @return The resulting string
         */
        public static final String ltrim(final String text) {
            return ltrim(text, null);
        }
    
        /**
         * Removes the specified characters from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @param trimText
         *            The characters to remove
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
            return Arrays.stream(ruleString.split(","))
                    .map(s -> s.split(":"))
                    .filter(v -> v.length == 2)
                    .map(v -> new Pair<String, String>(v[0].trim(), v[1].trim()));
        }
    
        /**
         * Converts and processes child URLs using path mapping and URL conversion rules.
         *
         * @param urlList the list of request data containing URLs to convert
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 54.6K bytes
    - Viewed (0)
  6. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/index/contents/querylog/QueryLogTest.java

            StringBuilder longQuery = new StringBuilder();
            for (int i = 0; i < 100; i++) {
                longQuery.append("word").append(i).append(" ");
            }
            String query = longQuery.toString().trim();
    
            QueryLog queryLog = new QueryLog(query, null);
    
            assertEquals(query, queryLog.getQueryString());
        }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

         */
        public String getAccessTokenFromRequest(final HttpServletRequest request) {
            final String token = request.getHeader("Authorization");
            if (token != null) {
                final String[] values = token.trim().split(" ");
                if (values.length == 2 && BEARER.equals(values[0])) {
                    return values[1];
                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      val mimeType =
        headers?.let {
          for (header in it) {
            val parts = header.split(':', limit = 2)
            if ("Content-Type".equals(parts[0], ignoreCase = true)) {
              return@let parts[1].trim()
            }
          }
          return@let null
        } ?: "application/x-www-form-urlencoded"
    
      return mimeType.toMediaTypeOrNull()
    }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  10. internal/logger/message/audit/entry.go

    	for k, v := range wh {
    		respHeader[k] = strings.Join(v, ",")
    	}
    	entry.RespHeader = respHeader
    
    	if etag := respHeader[xhttp.ETag]; etag != "" {
    		respHeader[xhttp.ETag] = strings.Trim(etag, `"`)
    	}
    
    	return entry
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top