You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2022/10/26 03:13:07 UTC

[incubator-eventmesh] branch master updated: The unused log field [AbstractProducer]

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

chenguangsheng 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 69661ecb The unused log field [AbstractProducer]
     new 35ec6edd Merge pull request #1869 from BenJaMiniature/patch-1
69661ecb is described below

commit 69661ecb50e44317a63ba7f28fe6ba7275e79af0
Author: BenJaMiniature <52...@users.noreply.github.com>
AuthorDate: Wed Oct 26 10:33:54 2022 +0800

    The unused log field [AbstractProducer]
    
    Remove the unused 'logger' field in AbstractProducer.
    #1867
    https://github.com/apache/incubator-eventmesh/issues/1867
---
 .../apache/eventmesh/connector/pulsar/producer/AbstractProducer.java | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/producer/AbstractProducer.java b/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/producer/AbstractProducer.java
index e1199da0..12d0217e 100644
--- a/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/producer/AbstractProducer.java
+++ b/eventmesh-connector-plugin/eventmesh-connector-pulsar/src/main/java/org/apache/eventmesh/connector/pulsar/producer/AbstractProducer.java
@@ -22,14 +22,11 @@ import org.apache.eventmesh.api.exception.ConnectorRuntimeException;
 import java.util.Properties;
 import java.util.concurrent.atomic.AtomicBoolean;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import io.cloudevents.CloudEvent;
 
 public abstract class AbstractProducer {
 
-    static final Logger logger = LoggerFactory.getLogger(AbstractProducer.class);
     protected final AtomicBoolean started = new AtomicBoolean(false);
     final Properties properties;
 
@@ -55,4 +52,4 @@ public abstract class AbstractProducer {
     public boolean isClosed() {
         return !this.isStarted();
     }
-}
\ No newline at end of file
+}


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