mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -22,6 +22,7 @@ public class CastUtilTest {
|
|||||||
map.put(1, 1);
|
map.put(1, 1);
|
||||||
|
|
||||||
Collection<Number> collection2 = CastUtil.castUp(collection);
|
Collection<Number> collection2 = CastUtil.castUp(collection);
|
||||||
|
collection2.add(new Double("123.1"));
|
||||||
Assert.assertSame(collection, collection2);
|
Assert.assertSame(collection, collection2);
|
||||||
|
|
||||||
Collection<Integer> collection3 = CastUtil.castDown(collection2);
|
Collection<Integer> collection3 = CastUtil.castDown(collection2);
|
||||||
|
Reference in New Issue
Block a user