- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for UnnecessaryStringBuilder (0.15 sec)
-
guava-tests/test/com/google/common/base/StringsTest.java
public void testRepeat_null() { assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5)); } @SuppressWarnings("UnnecessaryStringBuilder") // We want to test a non-String CharSequence public void testCommonPrefix() { assertEquals("", Strings.commonPrefix("", "")); assertEquals("", Strings.commonPrefix("abc", ""));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
public void testRepeat_null() { assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5)); } @SuppressWarnings("UnnecessaryStringBuilder") // We want to test a non-String CharSequence public void testCommonPrefix() { assertEquals("", Strings.commonPrefix("", "")); assertEquals("", Strings.commonPrefix("abc", ""));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0)