Code formatting

pull/656/head
chen.ma 2 years ago
parent 9356a94eac
commit bb1db80d1f

@ -20,7 +20,6 @@ package cn.hippo4j.common.toolkit;
import cn.hippo4j.common.model.ThreadPoolParameterInfo; import cn.hippo4j.common.model.ThreadPoolParameterInfo;
import org.junit.Test; import org.junit.Test;
public class ContentUtilTest { public class ContentUtilTest {
@Test @Test

@ -59,7 +59,6 @@ public class StringUtilTest {
Assert.isTrue(StringUtil.isBlank(string)); Assert.isTrue(StringUtil.isBlank(string));
} }
@Test @Test
public void isNotBlank() { public void isNotBlank() {
String string = "null"; String string = "null";
@ -82,13 +81,13 @@ public class StringUtilTest {
public void toUnderlineCase() { public void toUnderlineCase() {
String string = "str"; String string = "str";
String s = StringUtil.toUnderlineCase(string); String s = StringUtil.toUnderlineCase(string);
Assert.isTrue(Objects.equals(s,"str")); Assert.isTrue(Objects.equals(s, "str"));
} }
@Test @Test
public void toSymbolCase() { public void toSymbolCase() {
String string = "str"; String string = "str";
String s = StringUtil.toSymbolCase(string,StringUtil.UNDERLINE); String s = StringUtil.toSymbolCase(string, StringUtil.UNDERLINE);
Assert.isTrue(Objects.equals(s,"str")); Assert.isTrue(Objects.equals(s, "str"));
} }
} }

Loading…
Cancel
Save