Skip to content

Commit af01a29

Browse files
committed
Change ClusterConfig.setDefaultCapacityMap to be private. (apache#590)
Change ClusterConfig.setDefaultCapacityMap to be private.
1 parent c452058 commit af01a29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

helix-core/src/main/java/org/apache/helix/model/ClusterConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ private Map<String, Integer> getDefaultCapacityMap(ClusterConfigProperty capacit
763763
return Collections.emptyMap();
764764
}
765765

766-
public void setDefaultCapacityMap(ClusterConfigProperty capacityPropertyType,
766+
private void setDefaultCapacityMap(ClusterConfigProperty capacityPropertyType,
767767
Map<String, Integer> capacityDataMap) throws IllegalArgumentException {
768768
if (capacityDataMap == null) {
769769
throw new IllegalArgumentException("Default capacity data is null");

0 commit comments

Comments
 (0)