From 45a32ac8e82be01077d4443af636aa822776843f Mon Sep 17 00:00:00 2001 From: Bela Ban Date: Thu, 14 Sep 2023 09:53:31 +0200 Subject: [PATCH] ns --- src/org/jgroups/stack/ProtocolStack.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/org/jgroups/stack/ProtocolStack.java b/src/org/jgroups/stack/ProtocolStack.java index 1382f74d2a..06d27666c7 100644 --- a/src/org/jgroups/stack/ProtocolStack.java +++ b/src/org/jgroups/stack/ProtocolStack.java @@ -946,8 +946,7 @@ public Object down(Event evt) { } public Object down(Message msg) { - if(top_prot != null) return top_prot.down(msg); - return null; + return top_prot != null? top_prot.down(msg) : null; }