From 6d856ece91500f1bfeddc3a6824b0f9323f0cc78 Mon Sep 17 00:00:00 2001 From: haohao0103 <956322745@qq.com> Date: Tue, 17 Dec 2024 10:30:54 +0800 Subject: [PATCH] remove redundant code (#1166) * #1165 remove redundant code * Revert "#1165" This reverts commit e883b41f776e3606b6262a338a91274f69be0240. * #1165 remove redundant code --- .../com/alipay/sofa/jraft/rhea/options/RegionEngineOptions.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/options/RegionEngineOptions.java b/jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/options/RegionEngineOptions.java index 40b7d03f6..bf728dbc5 100644 --- a/jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/options/RegionEngineOptions.java +++ b/jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/options/RegionEngineOptions.java @@ -139,9 +139,7 @@ public RegionEngineOptions copy() { final RegionEngineOptions copy = new RegionEngineOptions(); copy.setRegionId(this.regionId); copy.setStartKey(this.startKey); - copy.setStartKeyBytes(this.startKeyBytes); copy.setEndKey(this.endKey); - copy.setEndKeyBytes(this.endKeyBytes); copy.setNodeOptions(this.nodeOptions == null ? new NodeOptions() : this.nodeOptions.copy()); copy.setRaftGroupId(this.raftGroupId); copy.setRaftDataPath(this.raftDataPath);