Remove FQCN for StringUtils and let private functions when possible
This commit is contained in:
@@ -67,8 +67,8 @@ public class LTrimRTrimUnitTest {
|
||||
@Test
|
||||
public void givenString_whenCallingStringUtilsStripStartEnd_thenReturnsTrue() {
|
||||
// Use StringUtils containsIgnoreCase to avoid case insensitive issues
|
||||
String ltrim = org.apache.commons.lang3.StringUtils.stripStart(src, null);
|
||||
String rtrim = org.apache.commons.lang3.StringUtils.stripEnd(src, null);
|
||||
String ltrim = StringUtils.stripStart(src, null);
|
||||
String rtrim = StringUtils.stripEnd(src, null);
|
||||
|
||||
// Compare the Strings obtained and the expected
|
||||
Assert.assertTrue(ltrimResult.equalsIgnoreCase(ltrim));
|
||||
|
||||
Reference in New Issue
Block a user