Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for WHITESPACE (0.06 sec)

  1. src/main/java/org/codelibs/fess/job/ExecJob.java

        public ExecJob logLevel(final String logLevel) {
            this.logLevel = logLevel;
            return this;
        }
    
        /**
         * Sets the log suffix for this job execution.
         * The suffix is trimmed and whitespace is replaced with underscores.
         *
         * @param logSuffix the suffix to append to log file names
         * @return this ExecJob instance for method chaining
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharStreams.java

        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
       * Files#readLines} and {@link Resources#readLines} methods.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/util/StringUtilTest.java

        void testJoinSingleNullElement() {
            String result = StringUtil.join(",", (CharSequence) null);
            assertEquals("null", result);
        }
    
        @Test
        @DisplayName("Should handle whitespace delimiter")
        void testJoinWithWhitespaceDelimiter() {
            String result = StringUtil.join("   ", "spaced", "out");
            assertEquals("spaced   out", result);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/StringUtil.java

            while (st.hasMoreElements()) {
                list.add(st.nextElement().toString());
            }
            return list.toArray(new String[list.size()]);
        }
    
        /**
         * Removes whitespace from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @return The resulting string
         */
        public static final String ltrim(final String text) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertNotNull(tokens);
            assertTrue(tokens.isEmpty());
        }
    
        @Test
        public void testAnalyzeWithWhitespaceOnly() {
            // Test analyze with whitespace only
            String text = "   ";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("2025-01-01", sitemaps[0].getLastmod());
        }
    
        public void test_parseXmlSitemaps_withExtraWhitespace() {
            // Sitemap with extra whitespace should be trimmed
            final String xml =
                    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Files.java

          }
        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
       * does include other leading and trailing whitespace.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         */
        doExtensiveTest("testdata/simplifypathnoprefixtests.txt");
      }
    
      private void doExtensiveTest(String resourceName) throws IOException {
        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            assertEquals("rule-id_with.special@chars#123", testRule.getRuleId());
    
            // Unicode characters
            testRule.setRuleId("ルール日本語");
            assertEquals("ルール日本語", testRule.getRuleId());
    
            // Whitespace
            testRule.setRuleId("  rule with spaces  ");
            assertEquals("  rule with spaces  ", testRule.getRuleId());
        }
    
        /**
         * Test multiple registrations of same rule
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top