You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/08/03 02:33:33 UTC

[shardingsphere] branch master updated: Fix checkstyle for EventListenerFixture (#19821)

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

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 29a0a7cd099 Fix checkstyle for EventListenerFixture (#19821)
29a0a7cd099 is described below

commit 29a0a7cd0999cdce9bcedcad8221753c2e9c80a3
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Aug 3 10:33:27 2022 +0800

    Fix checkstyle for EventListenerFixture (#19821)
---
 .../infra/util/eventbus/fixture/EventListenerFixture.java            | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/eventbus/fixture/EventListenerFixture.java b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/eventbus/fixture/EventListenerFixture.java
index 2be089e227c..f90d6de0380 100644
--- a/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/eventbus/fixture/EventListenerFixture.java
+++ b/shardingsphere-infra/shardingsphere-infra-util/src/test/java/org/apache/shardingsphere/infra/util/eventbus/fixture/EventListenerFixture.java
@@ -29,6 +29,11 @@ public final class EventListenerFixture {
     
     private final List<String> events = new LinkedList<>();
     
+    /**
+     * Listen.
+     * 
+     * @param event event
+     */
     @Subscribe
     public void listen(final String event) {
         events.add(event);