Updated Branches: refs/heads/master 6d5397990 -> d1808bc6f
HELIX-147: Fix typo in Idealstate property max_partitions_per_instance, rb=13364 Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/d1808bc6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/d1808bc6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/d1808bc6 Branch: refs/heads/master Commit: d1808bc6f0d25bff0d4cb5a2183bccdac207180e Parents: 6d53979 Author: zzhang <[email protected]> Authored: Tue Aug 6 15:39:46 2013 -0700 Committer: zzhang <[email protected]> Committed: Tue Aug 6 15:39:46 2013 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/helix/model/IdealState.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/d1808bc6/helix-core/src/main/java/org/apache/helix/model/IdealState.java ---------------------------------------------------------------------- diff --git a/helix-core/src/main/java/org/apache/helix/model/IdealState.java b/helix-core/src/main/java/org/apache/helix/model/IdealState.java index 8733cc7..800477d 100644 --- a/helix-core/src/main/java/org/apache/helix/model/IdealState.java +++ b/helix-core/src/main/java/org/apache/helix/model/IdealState.java @@ -44,7 +44,7 @@ public class IdealState extends HelixProperty STATE_MODEL_FACTORY_NAME, REPLICAS, IDEAL_STATE_MODE, REBALANCE_TIMER_PERIOD, - MAX_PARTITONS_PER_INSTANCE, + MAX_PARTITIONS_PER_INSTANCE, INSTANCE_GROUP_TAG, REBALANCER_CLASS_NAME } @@ -81,7 +81,7 @@ public class IdealState extends HelixProperty public int getMaxPartitionsPerInstance() { - return _record.getIntField(IdealStateProperty.MAX_PARTITONS_PER_INSTANCE.toString(), + return _record.getIntField(IdealStateProperty.MAX_PARTITIONS_PER_INSTANCE.toString(), Integer.MAX_VALUE); } @@ -98,7 +98,7 @@ public class IdealState extends HelixProperty public void setMaxPartitionsPerInstance(int max) { - _record.setIntField(IdealStateProperty.MAX_PARTITONS_PER_INSTANCE.toString(), max); + _record.setIntField(IdealStateProperty.MAX_PARTITIONS_PER_INSTANCE.toString(), max); } public IdealStateModeProperty getIdealStateMode()
