You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/03/10 07:18:48 UTC

[dubbo] branch 3.2 updated: [fix]Override the method of Object.clone(), but not implements Cloneable (#11761)

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new 27420cf68a [fix]Override the method of Object.clone(), but not implements Cloneable (#11761)
27420cf68a is described below

commit 27420cf68acf9917ff982836ca3453b2616bd887
Author: SeasonPan <24...@qq.com>
AuthorDate: Fri Mar 10 15:18:41 2023 +0800

    [fix]Override the method of Object.clone(), but not implements Cloneable (#11761)
---
 .../main/java/org/apache/dubbo/rpc/cluster/router/state/BitList.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/state/BitList.java b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/state/BitList.java
index 9694bf9f51..b3fda63948 100644
--- a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/state/BitList.java
+++ b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/state/BitList.java
@@ -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());