You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by jo...@apache.org on 2022/12/03 09:22:12 UTC

[incubator-eventmesh] branch master updated: fixed #2378 (#2434)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 165e87927 fixed #2378 (#2434)
165e87927 is described below

commit 165e879274fd961782c6f93b6bc8a19061119fad
Author: keranbingaa <39...@qq.com>
AuthorDate: Sat Dec 3 17:22:07 2022 +0800

    fixed #2378 (#2434)
---
 .../runtime/core/protocol/grpc/producer/EventMeshProducer.java        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/grpc/producer/EventMeshProducer.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/grpc/producer/EventMeshProducer.java
index 1c2897f27..cc021eef0 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/grpc/producer/EventMeshProducer.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/grpc/producer/EventMeshProducer.java
@@ -74,7 +74,7 @@ public class EventMeshProducer {
     }
 
     public synchronized void start() throws Exception {
-        if (serviceState == null || ServiceState.RUNNING.equals(serviceState)) {
+        if (serviceState == null || ServiceState.RUNNING == serviceState) {
             return;
         }
 
@@ -84,7 +84,7 @@ public class EventMeshProducer {
     }
 
     public synchronized void shutdown() throws Exception {
-        if (serviceState == null || ServiceState.INITED.equals(serviceState)) {
+        if (serviceState == null || ServiceState.INITED == serviceState) {
             return;
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org