You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by je...@apache.org on 2018/09/11 04:55:54 UTC

[incubator-dubbo] branch master updated: [Dubbo-2424] Fix switch-case fall through in ChannelEventRunnable (#2426)

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

jerrick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 51f0677  [Dubbo-2424] Fix switch-case fall through in ChannelEventRunnable (#2426)
51f0677 is described below

commit 51f0677c8eaca9a7d8a37e663a344e8b02543350
Author: Yuhao Bi <by...@gmail.com>
AuthorDate: Tue Sep 11 12:55:51 2018 +0800

    [Dubbo-2424] Fix switch-case fall through in ChannelEventRunnable (#2426)
---
 .../apache/dubbo/remoting/transport/dispatcher/ChannelEventRunnable.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/ChannelEventRunnable.java b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/ChannelEventRunnable.java
index 59622a6..3151704 100644
--- a/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/ChannelEventRunnable.java
+++ b/dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/ChannelEventRunnable.java
@@ -82,6 +82,7 @@ public class ChannelEventRunnable implements Runnable {
                     logger.warn("ChannelEventRunnable handle " + state + " operation error, channel is " + channel
                             + ", message is " + message, e);
                 }
+                break;
             case CAUGHT:
                 try {
                     handler.caught(channel, exception);