You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by rs...@apache.org on 2020/07/22 19:36:26 UTC

[kafka] branch 2.6 updated: MINOR: Fix deprecation version for NotLeaderForPartitionException (#9056)

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

rsivaram pushed a commit to branch 2.6
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/2.6 by this push:
     new 35f399e  MINOR: Fix deprecation version for NotLeaderForPartitionException (#9056)
35f399e is described below

commit 35f399e35793ec3ebcda3ccd03c482038acc3e8c
Author: Rajini Sivaram <ra...@googlemail.com>
AuthorDate: Wed Jul 22 20:33:55 2020 +0100

    MINOR: Fix deprecation version for NotLeaderForPartitionException (#9056)
    
    Reviewers: Ismael Juma <is...@juma.me.uk>
---
 .../org/apache/kafka/common/errors/NotLeaderForPartitionException.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/src/main/java/org/apache/kafka/common/errors/NotLeaderForPartitionException.java b/clients/src/main/java/org/apache/kafka/common/errors/NotLeaderForPartitionException.java
index 6ecce02..30efc49 100644
--- a/clients/src/main/java/org/apache/kafka/common/errors/NotLeaderForPartitionException.java
+++ b/clients/src/main/java/org/apache/kafka/common/errors/NotLeaderForPartitionException.java
@@ -18,7 +18,7 @@ package org.apache.kafka.common.errors;
 
 /**
  * This server is not the leader for the given partition.
- * @deprecated since 2.7. Use {@link NotLeaderOrFollowerException}.
+ * @deprecated since 2.6. Use {@link NotLeaderOrFollowerException}.
  */
 @Deprecated
 public class NotLeaderForPartitionException extends InvalidMetadataException {