diff options
author | 2016-09-05 10:47:45 +0200 | |
---|---|---|
committer | 2016-09-05 08:58:56 +0000 | |
commit | f5974daaf5d094b9890145b386adc8313c705ea1 (patch) | |
tree | f80a4464c818eee07dc6857e31cc9ac1059875b9 /infra/translate-api/src/main/java/io | |
parent | 2645ef7b9214bff46fcfc8933fed9d571bc6abe5 (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/src/main/java/io')
-rw-r--r-- | infra/translate-api/src/main/java/io/fd/honeycomb/translate/read/ReaderFactory.java | 7 |
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 - } } |