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

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-metrics-rrd4j.git

commit 955a2a6bea1cb453a9c20dd2c62106b0b218da2f
Author: Robert Munteanu <romb...@apache.org>
AuthorDate: Tue Aug 29 12:47:36 2017 +0000

    SLING-7090 - RRD4J metrics reporter does not close file on deactivate
    
    Submitted-By: Marcel Reutegger
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1806584 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/commons/metrics/rrd4j/impl/CodahaleMetricsReporter.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/commons/metrics/rrd4j/impl/CodahaleMetricsReporter.java
 
b/src/main/java/org/apache/sling/commons/metrics/rrd4j/impl/CodahaleMetricsReporter.java
index fd874b0..1c24c8a 100644
--- 
a/src/main/java/org/apache/sling/commons/metrics/rrd4j/impl/CodahaleMetricsReporter.java
+++ 
b/src/main/java/org/apache/sling/commons/metrics/rrd4j/impl/CodahaleMetricsReporter.java
@@ -164,7 +164,7 @@ public class CodahaleMetricsReporter implements 
InventoryPrinter, ZipAttachmentP
     void deactivate() {
         LOG.info("Stopping RRD4J Metrics reporter");
         if (reporter != null) {
-            reporter.stop();
+            reporter.close();
             reporter = null;
         }
         configuration = null;

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Reply via email to