You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jg...@apache.org on 2019/04/25 05:31:22 UTC
[kafka] branch trunk updated: MINOR: Remove implicit return
statement (#6629)
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 <so...@opencore.com>
AuthorDate: Thu Apr 25 07:31:11 2019 +0200
MINOR: Remove implicit return statement (#6629)
Reviewers: Jason Gustafson <ja...@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)
}
/**