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 implicit return statement (#6629)
Date Thu, 25 Apr 2019 05:31:22 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 3eaccb3  MINOR: Remove implicit return statement (#6629)
3eaccb3 is described below

commit 3eaccb3eff8baf7cfc74ea4e263155bcb1f5780b
Author: Sönke Liebau <soenke.liebau@opencore.com>
AuthorDate: Thu Apr 25 07:31:11 2019 +0200

    MINOR: Remove implicit return statement (#6629)
    
    Reviewers: Jason Gustafson <jason@confluent.io>
---
 core/src/main/scala/kafka/utils/CommandLineUtils.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/scala/kafka/utils/CommandLineUtils.scala b/core/src/main/scala/kafka/utils/CommandLineUtils.scala
index 2c21572..9c654cc 100644
--- a/core/src/main/scala/kafka/utils/CommandLineUtils.scala
+++ b/core/src/main/scala/kafka/utils/CommandLineUtils.scala
@@ -33,7 +33,7 @@ object CommandLineUtils extends Logging {
     * @return true on matching the help check condition
     */
   def isPrintHelpNeeded(commandOpts: CommandDefaultOptions): Boolean = {
-    return commandOpts.args.length == 0 || commandOpts.options.has(commandOpts.helpOpt)
+    commandOpts.args.length == 0 || commandOpts.options.has(commandOpts.helpOpt)
   }
 
   /**


Mime
View raw message