Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
Remove unused variables
  • Loading branch information
deepthi912 committed Aug 30, 2024
1 parent caeb30c commit 5adc967
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,6 @@ private static long getRandomInitialDelayInSeconds() {
public static final String ENFORCE_POOL_BASED_ASSIGNMENT_KEY = "enforce.pool.based.assignment";
public static final boolean DEFAULT_ENFORCE_POOL_BASED_ASSIGNMENT = false;

public static final String THRESHOLD_REPLICATION_FACTOR = "controller.replication";
public static final int DEFAULT_THRESHOLD_REPLICATION_FACTOR = 3;

public ControllerConf() {
super(new HashMap<>());
}
Expand Down Expand Up @@ -1075,8 +1072,4 @@ private String getSupportedProtocol(String property) {
public boolean isEnforcePoolBasedAssignmentEnabled() {
return getProperty(ENFORCE_POOL_BASED_ASSIGNMENT_KEY, DEFAULT_ENFORCE_POOL_BASED_ASSIGNMENT);
}

public int getThresholdReplicationFactor() {
return getProperty(THRESHOLD_REPLICATION_FACTOR, DEFAULT_THRESHOLD_REPLICATION_FACTOR);
}
}

0 comments on commit 5adc967

Please sign in to comment.