- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testJoinWithMixedEmptyAndNull (0.09 sec)
-
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")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0)