- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 102 for Whitespace (0.06 seconds)
-
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
assertNull(result, "getAnchorSet should return null for blank string"); result = crawlerThread.getAnchorSet(" "); assertNull(result, "getAnchorSet should return null for whitespace string"); } /** * Test getAnchorSet with list of URLs */ @Test public void test_getAnchorSet_withList() { FessCrawlerThread crawlerThread = new FessCrawlerThread();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0) -
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) -
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) -
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 constantsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
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) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
item.setNewInput(newSpecialInput); assertEquals(newSpecialInput, item.toLineString()); } @Test public void test_whitespaceHandling() { // Test with various whitespace scenarios ProtwordsItem item1 = new ProtwordsItem(1, " word "); assertEquals(" word ", item1.getInput()); assertEquals(" word ", item1.toLineString());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
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) -
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) -
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)