Skip to content

Commit

Permalink
Make the relationship between the Reporter and Closeable interfaces e…
Browse files Browse the repository at this point in the history
…xplicit. (#1307)

* Resolves #1305 and reimplements #743. Credit to @obfischer for the initial implementation.

* Fix Code Climate check and call out the java.io.Closeable interface in JmxReporter and ScheduledReporter

* Incorporate feedback about explicit implements in order to maintain binary compatibility
  • Loading branch information
tjcelaya authored and Artem Prigoda committed May 1, 2018
1 parent 3f5fccc commit 43da91e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.codahale.metrics;

import java.io.Closeable;

/*
* A tag interface to indicate that a class is a Reporter.
*/
public interface Reporter {
public interface Reporter extends Closeable {

}

0 comments on commit 43da91e

Please sign in to comment.