[fix]Override the method of Object.clone(), but not implements Cloneable (#11761)
This commit is contained in:
parent
6c557d1caf
commit
27420cf68a
|
|
@ -52,7 +52,7 @@ import java.util.concurrent.ThreadLocalRandom;
|
|||
* @param <E>
|
||||
* @since 3.0
|
||||
*/
|
||||
public class BitList<E> extends AbstractList<E> {
|
||||
public class BitList<E> extends AbstractList<E> implements Cloneable {
|
||||
private final BitSet rootSet;
|
||||
private volatile List<E> originList;
|
||||
private final static BitList emptyList = new BitList(Collections.emptyList());
|
||||
|
|
|
|||
Loading…
Reference in New Issue