You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ds...@apache.org on 2026/09/28 21:59:14 UTC

(solr) 02/05: Remove vestigial @SuppressWarnings("deprecation") from handleReplicationFactor (#4945)

This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_10x
in repository https://gitbox.apache.org/repos/asf/solr.git

commit d8d067f049d351a9f932d19035a131023fad3686
Author: Eric Pugh <ep...@opensourceconnections.com>
AuthorDate: Sat Sep 26 20:33:17 2026 -0400

    Remove vestigial @SuppressWarnings("deprecation") from handleReplicationFactor (#4945)
    
    (cherry picked from commit 1fc8c00c713ad0f84b5d46cfe3f46b3d227dc548)
---
 .../org/apache/solr/update/processor/DistributedZkUpdateProcessor.java   | 1 -
 1 file changed, 1 deletion(-)

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.java
index 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;