Apache Solr open-source search software
Remove vestigial @SuppressWarnings("deprecation") from handleReplicationFactor (#4945)
Eric Pugh1fc8c00c713a
diff --git a/solr/core/src/java/org/apache/solr/update/processor/DistributedZkUpdateProcessor.java b/solr/core/src/java/org/apache/solr/update/processor/DistributedZkUpdateProcessor.javaindex b7fc69e8db3..9f6f6e3ac56 100644--- a/solr/core/src/java/org/apache/solr/update/processor/DistributedZkUpdateProcessor.java+++ b/solr/core/src/java/org/apache/solr/update/processor/DistributedZkUpdateProcessor.java@@ -1369,7 +1369,6 @@ public class DistributedZkUpdateProcessor extends DistributedUpdateProcessor {}/** If necessary, include in the response the achieved replication factor */- @SuppressWarnings("deprecation")private void handleReplicationFactor() {if (leaderReplicationTracker != null || rollupReplicationTracker != null) {int achievedRf = Integer.MAX_VALUE;