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 <[email protected]>
AuthorDate: Sat May 11 15:36:15 2019 +0900

    MINOR: Remove unnecessary OptionParser#accepts method call from 
PreferredReplicaLeaderElectionCommand (#6710)
    
    Reviewers: Jason Gustafson <[email protected]>
---
 .../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: _*)
   }
 

Reply via email to