Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 227 for Trim (0.04 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                }
                matcher.appendReplacement(sb, buf.toString().replace("\\", "\\\\").replace("$", "\\$"));
            }
            matcher.appendTail(sb);
            return sb.toString().replaceAll("\\s+", " ").trim();
        }
    
        public String getEncoding() {
            return encoding;
        }
    
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                if (file.extension == "groovy" || file.extension == "java") {
                    val originalText = file.readText()
                    val text = originalText.lineSequence()
                        .filterNot { it.trim().startsWith("//") }
                        .joinToString("\n")
                    if (text.contains(content) && exceptions.all { !text.contains(it) }) {
                        println("Found suspicious test file: $file")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

                }
            }
            else {
                StringTokenizer st = new StringTokenizer(ro, ",");
                while ( st.hasMoreTokens() ) {
                    String s = st.nextToken().trim();
                    if ( s.equalsIgnoreCase("LMHOSTS") ) {
                        this.resolverOrder.add(ResolverType.RESOLVER_LMHOSTS);
                    }
                    else if ( s.equalsIgnoreCase("WINS") ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            if (StringUtil.isNotBlank(value)) {
                final String[] encodingPairs = value.split(",");
                for (final String pair : encodingPairs) {
                    final String[] encInfos = pair.trim().split(":");
                    if (encInfos.length == 2) {
                        encodingMap.put("/" + encInfos[0] + "/", encInfos[1]);
                    }
                }
            }
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

        }
    
        private static class RangeValue {
            private String value;
    
            private boolean closed;
    
            RangeValue(String value, boolean closed) {
                this.value = value.trim();
                this.closed = closed;
            }
    
            @Override
            public String toString() {
                return value;
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

            body.virtualHosts = stream(entity.getVirtualHosts())
                    .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
            return body;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          this.sameSite = cookie.sameSite
        }
    
        fun name(name: String) =
          apply {
            require(name.trim() == name) { "name is not trimmed" }
            this.name = name
          }
    
        fun value(value: String) =
          apply {
            require(value.trim() == value) { "value is not trimmed" }
            this.value = value
          }
    
        fun expiresAt(expiresAt: Long) =
          apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

                        groupId, artifactId, getVersion(), type, "The version cannot be empty.");
            }
        }
    
        public static boolean empty(String value) {
            return (value == null) || (value.trim().length() < 1);
        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        @Override
        public boolean hasClassifier() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top