You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by sh...@apache.org on 2022/10/12 09:14:19 UTC

[rocketmq-eventbridge] 04/06: prepare to release 1.0.0

This is an automated email from the ASF dual-hosted git repository.

shenlin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/rocketmq-eventbridge.git

commit 1985741530af3faa68725a443d6ff695dc81cbf2
Author: 2011shenlin <20...@gmail.com>
AuthorDate: Sun Sep 25 21:47:53 2022 +0800

    prepare to release 1.0.0
---
 .../eventbridge/tools/transform/JsonPathUtil.java    |  4 ++--
 pom.xml                                              | 20 --------------------
 2 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/common/src/main/java/org/apache/rocketmq/eventbridge/tools/transform/JsonPathUtil.java b/common/src/main/java/org/apache/rocketmq/eventbridge/tools/transform/JsonPathUtil.java
index 38d01c6..11e1ec5 100644
--- a/common/src/main/java/org/apache/rocketmq/eventbridge/tools/transform/JsonPathUtil.java
+++ b/common/src/main/java/org/apache/rocketmq/eventbridge/tools/transform/JsonPathUtil.java
@@ -46,7 +46,7 @@ public class JsonPathUtil {
         .jsonProvider(new GsonJsonProvider())
         .build());
 
-    private static final Logger logger = LoggerFactory.getLogger(JsonPathUtil.class);
+    private static final Logger log = LoggerFactory.getLogger(JsonPathUtil.class);
 
     public static String removeDataOfJsonPath(String jsonPath) {
         if (!jsonPath.startsWith(JSONPATH_DATA)) {
@@ -136,7 +136,7 @@ public class JsonPathUtil {
             //return "";
             return null;
         } catch (InvalidPathException invalidPathException) {
-            logger.warn("Invalid json path:" + jsonPath, invalidPathException);
+            log.warn("Invalid json path:" + jsonPath, invalidPathException);
             return jsonPath;
         }
         if (element.isJsonPrimitive()) {
diff --git a/pom.xml b/pom.xml
index d1440a4..7596064 100644
--- a/pom.xml
+++ b/pom.xml
@@ -328,26 +328,6 @@
                     </execution>
                 </executions>
             </plugin>
-<!--            <plugin>-->
-<!--                <artifactId>maven-checkstyle-plugin</artifactId>-->
-<!--                <version>2.17</version>-->
-<!--                <executions>-->
-<!--                    <execution>-->
-<!--                        <id>verify</id>-->
-<!--                        <phase>verify</phase>-->
-<!--                        <configuration>-->
-<!--                            <configLocation>style/rmq_checkstyle.xml</configLocation>-->
-<!--                            <encoding>UTF-8</encoding>-->
-<!--                            <consoleOutput>true</consoleOutput>-->
-<!--                            <failsOnError>true</failsOnError>-->
-<!--                            <includeTestSourceDirectory>false</includeTestSourceDirectory>-->
-<!--                        </configuration>-->
-<!--                        <goals>-->
-<!--                            <goal>check</goal>-->
-<!--                        </goals>-->
-<!--                    </execution>-->
-<!--                </executions>-->
-<!--            </plugin>-->
             <plugin>
                 <groupId>org.jacoco</groupId>
                 <artifactId>jacoco-maven-plugin</artifactId>