You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2022/03/15 03:51:45 UTC
[rocketmq-exporter] 01/02: fix code coverage
This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-exporter.git
commit e1202b3f5c3a04350933a5494297a6706fcb2fd5
Author: ShannonDing <li...@163.com>
AuthorDate: Tue Mar 15 11:05:14 2022 +0800
fix code coverage
---
.../org/apache/rocketmq/exporter/RocketMQExporterApplication.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/rocketmq/exporter/RocketMQExporterApplication.java b/src/main/java/org/apache/rocketmq/exporter/RocketMQExporterApplication.java
index e9d2d3b..894c295 100644
--- a/src/main/java/org/apache/rocketmq/exporter/RocketMQExporterApplication.java
+++ b/src/main/java/org/apache/rocketmq/exporter/RocketMQExporterApplication.java
@@ -16,8 +16,6 @@
*/
package org.apache.rocketmq.exporter;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -29,14 +27,13 @@ import org.springframework.scheduling.annotation.EnableScheduling;
@EnableScheduling
public class RocketMQExporterApplication implements CommandLineRunner {
- private final static Logger log = LoggerFactory.getLogger(RocketMQExporterApplication.class);
public static void main(String[] args) {
SpringApplication.run(RocketMQExporterApplication.class, args);
}
@Override public void run(String... args) throws Exception {
- log.info("Start RocketMQExporterApplication: " + args[0] + " And " + args[1]);
+ return;
}
}