SOLR-11178: Removed unused method

This commit is contained in:
Shalin Shekhar Mangar 2017-08-08 17:45:11 +05:30
parent 1f6a94551f
commit 3761c44673
1 changed files with 0 additions and 5 deletions

View File

@ -262,11 +262,6 @@ public class AutoScalingHandler extends RequestHandlerBase implements Permission
return currentConfig;
}
private void checkErr(CommandOperation op) {
if (!op.hasError()) return;
throw new ApiBag.ExceptionWithErrObject(SolrException.ErrorCode.BAD_REQUEST, "Error in command payload", CommandOperation.captureErrors(Collections.singletonList(op)));
}
private AutoScalingConfig handleSetClusterPreferences(SolrQueryRequest req, SolrQueryResponse rsp, CommandOperation op,
AutoScalingConfig currentConfig) throws KeeperException, InterruptedException, IOException {
List<Map<String, Object>> preferences = (List<Map<String, Object>>) op.getCommandData();