kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [kafka] branch trunk updated: MINOR: Remove unnecessary OptionParser#accepts method call from PreferredReplicaLeaderElectionCommand (#6710)
Date Sat, 11 May 2019 06:36:32 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 511c8e2  MINOR: Remove unnecessary OptionParser#accepts method call from PreferredReplicaLeaderElectionCommand
(#6710)
511c8e2 is described below

commit 511c8e2c9ee802176c5193e80dfb5c86030144a7
Author: Kengo Seki <sekikn@apache.org>
AuthorDate: Sat May 11 15:36:15 2019 +0900

    MINOR: Remove unnecessary OptionParser#accepts method call from PreferredReplicaLeaderElectionCommand
(#6710)
    
    Reviewers: Jason Gustafson <jason@confluent.io>
---
 .../main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/core/src/main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala b/core/src/main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala
index 8740ed4..13b65db 100755
--- a/core/src/main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala
+++ b/core/src/main/scala/kafka/admin/PreferredReplicaLeaderElectionCommand.scala
@@ -148,7 +148,6 @@ object PreferredReplicaLeaderElectionCommand extends Logging {
       .describedAs("config file")
       .ofType(classOf[String])
 
-    parser.accepts("")
     options = parser.parse(args: _*)
   }
 


Mime
View raw message