summaryrefslogtreecommitdiffstats
path: root/infra/translate-api
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-09-05 10:47:45 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-09-05 10:48:18 +0200
commit75dc8820ecfb9212b9ab1b4f3d87056f32d7e48b (patch)
treedcc9af2d5839a08e9d687cd930aa8936fa70ea84 /infra/translate-api
parentf5fe9e5bb66e03d767883ceeb66f1788bbdd752c (diff)
Fix ReaderFactory: remove AutoClosable from list
of implemented interfaces. Reader factories do not need to be AutoClosable. Change-Id: I779e87eb0b03750e264df52e14eee58467ca799a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/translate-api')
-rw-r--r--infra/translate-api/src/main/java/io/fd/honeycomb/translate/read/ReaderFactory.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/read/ReaderFactory.java b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/read/ReaderFactory.java
index 701a26dd5..658e2460f 100644
--- a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/read/ReaderFactory.java
+++ b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/read/ReaderFactory.java
@@ -24,15 +24,10 @@ import javax.annotation.Nonnull;
* Factory producing readers for {@link ModifiableReaderRegistryBuilder}.
*/
@Beta
-public interface ReaderFactory extends AutoCloseable {
+public interface ReaderFactory {
/**
* Initialize 1 or more readers and add them to provided registry.
*/
void init(@Nonnull ModifiableReaderRegistryBuilder registry);
-
- @Override
- default void close() {
- // NOOP TODO allow unregister
- }
}