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

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


The following commit(s) were added to refs/heads/master by this push:
     new af7d2768160 remove unused field in PulsarStats (#15087)
af7d2768160 is described below

commit af7d2768160fbb80768b0654069f96f1848661c8
Author: Qiang Huang <[email protected]>
AuthorDate: Tue Apr 12 10:21:27 2022 +0800

    remove unused field in PulsarStats (#15087)
---
 .../src/main/java/org/apache/pulsar/broker/service/PulsarStats.java     | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/PulsarStats.java 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/PulsarStats.java
index 6101d669932..817432f1915 100644
--- 
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/PulsarStats.java
+++ 
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/PulsarStats.java
@@ -55,12 +55,10 @@ public class PulsarStats implements Closeable {
     private List<NonPersistentTopic> tempNonPersistentTopics;
     private final BrokerOperabilityMetrics brokerOperabilityMetrics;
     private final boolean exposePublisherStats;
-    private final PulsarService pulsarService;
 
     private final ReentrantReadWriteLock bufferLock = new 
ReentrantReadWriteLock();
 
     public PulsarStats(PulsarService pulsar) {
-        this.pulsarService = pulsar;
         this.topicStatsBuf = Unpooled.buffer(16 * 1024);
         this.tempTopicStatsBuf = Unpooled.buffer(16 * 1024);
 

Reply via email to