From e0c5b9735de84dc5839c95beba892a46cafe9679 Mon Sep 17 00:00:00 2001 From: RYE <1294566108@qq.com> Date: Wed, 2 Aug 2023 15:49:24 +0800 Subject: [PATCH] fix(flexible):avoid importing * --- .../com/alipay/sofa/jraft/core/NodeImpl.java | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java b/jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java index 07bc4349f..a3b6ea1cc 100644 --- a/jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java +++ b/jraft-core/src/main/java/com/alipay/sofa/jraft/core/NodeImpl.java @@ -34,8 +34,27 @@ import java.util.concurrent.locks.ReadWriteLock; import java.util.stream.Collectors; -import com.alipay.sofa.jraft.*; -import com.alipay.sofa.jraft.entity.*; +import com.alipay.sofa.jraft.Closure; +import com.alipay.sofa.jraft.FSMCaller; +import com.alipay.sofa.jraft.JRaftServiceFactory; +import com.alipay.sofa.jraft.JRaftUtils; +import com.alipay.sofa.jraft.Node; +import com.alipay.sofa.jraft.NodeManager; +import com.alipay.sofa.jraft.Quorum; +import com.alipay.sofa.jraft.ReadOnlyService; +import com.alipay.sofa.jraft.ReplicatorGroup; +import com.alipay.sofa.jraft.Status; +import com.alipay.sofa.jraft.entity.Ballot; +import com.alipay.sofa.jraft.entity.BallotFactory; +import com.alipay.sofa.jraft.entity.EnumOutter; +import com.alipay.sofa.jraft.entity.LeaderChangeContext; +import com.alipay.sofa.jraft.entity.LogEntry; +import com.alipay.sofa.jraft.entity.LogId; +import com.alipay.sofa.jraft.entity.NodeId; +import com.alipay.sofa.jraft.entity.PeerId; +import com.alipay.sofa.jraft.entity.RaftOutter; +import com.alipay.sofa.jraft.entity.Task; +import com.alipay.sofa.jraft.entity.UserLog; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory;