You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by lx...@apache.org on 2016/12/19 17:54:13 UTC
[3/9] helix git commit: [HELIX-643] Make instance variables in
DistClusterControllerStateModel as protected fields to make them visiable to
its subclass.
[HELIX-643] Make instance variables in DistClusterControllerStateModel as protected fields to make them visiable to its subclass.
Project: http://git-wip-us.apache.org/repos/asf/helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/helix/commit/488ce4c3
Tree: http://git-wip-us.apache.org/repos/asf/helix/tree/488ce4c3
Diff: http://git-wip-us.apache.org/repos/asf/helix/diff/488ce4c3
Branch: refs/heads/helix-0.6.x
Commit: 488ce4c34a60505bf7d70df860f0df9dd5fa9642
Parents: 1db2438
Author: Junkai Xue <jx...@linkedin.com>
Authored: Thu Dec 15 16:47:27 2016 -0800
Committer: Junkai Xue <jx...@linkedin.com>
Committed: Thu Dec 15 16:47:27 2016 -0800
----------------------------------------------------------------------
.../helix/participant/DistClusterControllerStateModel.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/helix/blob/488ce4c3/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModel.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModel.java b/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModel.java
index 8c88b7c..d1faaa9 100644
--- a/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModel.java
+++ b/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModel.java
@@ -36,8 +36,8 @@ import org.apache.log4j.Logger;
})
public class DistClusterControllerStateModel extends StateModel {
private static Logger logger = Logger.getLogger(DistClusterControllerStateModel.class);
- private HelixManager _controller = null;
- private final String _zkAddr;
+ protected HelixManager _controller = null;
+ protected final String _zkAddr;
public DistClusterControllerStateModel(String zkAddr) {
StateModelParser parser = new StateModelParser();