Commit 28de9a35 authored by yanzg's avatar yanzg

修改实体位置

parent 5a2d7d16
...@@ -1194,7 +1194,6 @@ public class StringHelper { ...@@ -1194,7 +1194,6 @@ public class StringHelper {
* @return * @return
*/ */
public static String trimRight(String from, String... suffix) { public static String trimRight(String from, String... suffix) {
if (from == null) { if (from == null) {
return EMPTY; return EMPTY;
} }
......
...@@ -17,7 +17,7 @@ public class TestStringHelper { ...@@ -17,7 +17,7 @@ public class TestStringHelper {
public void testTrim() { public void testTrim() {
System.out.println(StringHelper.trimLeft("100500103", "1", "0")); System.out.println(StringHelper.trimLeft("100500103", "1", "0"));
System.out.println(StringHelper.trimRight("100500103", "3", "0")); System.out.println(StringHelper.trimRight("100500103", "3", "0"));
System.out.println(StringHelper.trim("100500103", "1", "0", "3")); System.out.println(StringHelper.trim("1005050103", "1", "0", "3"));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment