mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
5c31ecf526
commit
0da39cfd9d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user