- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testJoinWithMixedEmptyAndNull (0.1 seconds)
-
src/test/java/jcifs/internal/util/StringUtilTest.java
// Third: sb.length() > 0, add delimiter + "" (sb becomes "middle,") assertEquals("middle,", result); } @Test @DisplayName("Should handle mix of empty and null elements") void testJoinWithMixedEmptyAndNull() { String result = StringUtil.join("-", "", null, "value", "", null); // First: "" (sb becomes "") // Second: sb.length() is 0, no delimiter, append null (sb becomes "null")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0)