mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
删除无用注释
This commit is contained in:
@@ -504,7 +504,6 @@ public class ArrayUtilTest {
|
|||||||
result = ArrayUtil.replace(c, 5, d);
|
result = ArrayUtil.replace(c, 5, d);
|
||||||
Assert.assertArrayEquals(new String[]{"1", "2", "3", "4", "a", "b", "c"}, result);
|
Assert.assertArrayEquals(new String[]{"1", "2", "3", "4", "a", "b", "c"}, result);
|
||||||
|
|
||||||
//上一步测试修改了原数组结构
|
|
||||||
String[] e = null;
|
String[] e = null;
|
||||||
String[] f = {"a", "b", "c"};
|
String[] f = {"a", "b", "c"};
|
||||||
|
|
||||||
@@ -512,7 +511,6 @@ public class ArrayUtilTest {
|
|||||||
result = ArrayUtil.replace(e, -1, f);
|
result = ArrayUtil.replace(e, -1, f);
|
||||||
Assert.assertArrayEquals(new String[]{"a", "b", "c"}, result);
|
Assert.assertArrayEquals(new String[]{"a", "b", "c"}, result);
|
||||||
|
|
||||||
//上一步测试修改了原数组结构
|
|
||||||
String[] g = {"a", "b", "c"};
|
String[] g = {"a", "b", "c"};
|
||||||
String[] h = null;
|
String[] h = null;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user