Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 88 for whitespace (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

                final String[] parts = line.split("=", 2);
                final String key = parts[0];
                // remove optional leading and trailing quotes and whitespace
                final String value = parts[1].replaceAll("^['\"]?\\s*", "").replaceAll("\\s*['\"]?$", "");
    
                values.put(key, value.toLowerCase());
            });
    
            return values;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(emptyMessage, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_getMessage_withWhitespaceMessage() {
            // Test constructor with whitespace-only message
            String whitespaceMessage = "   ";
            SsoProcessException exception = new SsoProcessException(whitespaceMessage);
    
            assertEquals(whitespaceMessage, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  4. 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
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  5. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        @Test
        public void test_execute_withWhitespaceContext() {
            // Test execute with whitespace query string context
            QueryContext context = new QueryContext("   ", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = 1.0f;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

    import static com.google.common.base.CharMatcher.is;
    import static com.google.common.base.CharMatcher.isNot;
    import static com.google.common.base.CharMatcher.noneOf;
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  8. scripts/translate.py

                    "- rephrase or rewrite correct lines just to improve the style.",
                    "- add or remove line breaks, unless the original English content changed.",
                    "- change formatting or whitespace unless absolutely required.",
                    "Only change what must be changed. The goal is to minimize diffs for easier human review.",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

            List<SuggestItem> items = parser.parseDocument(document, supportedFields, tagFieldNames, roleFieldName, "lang",
                    defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer);
    
            // Whitespace-only content should produce empty or filtered items
            // Items with blank words should be filtered
            for (SuggestItem item : items) {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            // Blank fields are handled before Set lookup
            assertFalse(queryFieldConfig.isFacetField(""));
            assertFalse(queryFieldConfig.isFacetField(null));
            assertFalse(queryFieldConfig.isFacetField("   ")); // Whitespace only
        }
    
        /**
         * Test that updating fields via setter updates both array and Set.
         */
        @Test
        public void test_updateFields_updatesSetAndArray() {
            // Initial setup
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
Back to Top