mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-29 10:49:37 +08:00
修复comment
This commit is contained in:
parent
94e6be4bf0
commit
00b064ba46
@ -2093,9 +2093,6 @@ public class ArrayUtil extends PrimitiveArrayUtil {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
Set<T> elementSet = new HashSet<>(Arrays.asList(array));
|
Set<T> elementSet = new HashSet<>(Arrays.asList(array));
|
||||||
for (T element : array) {
|
|
||||||
elementSet.add(element);
|
|
||||||
}
|
|
||||||
return elementSet.size() != array.length;
|
return elementSet.size() != array.length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user