diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-09-05 09:44:34 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-09-05 07:47:29 +0000 |
commit | f5fe9e5bb66e03d767883ceeb66f1788bbdd752c (patch) | |
tree | 18e6a2ee3c0b98cbdaf566dccc9f92ba31a5eb0e /infra | |
parent | caba54834ef80017f2477b0c3355213a4ca57f33 (diff) |
Fix Writer Factory: remove AutoClosable from list
of implemented interfaces.
WriterFactories do not need to be AutoClosable.
Change-Id: I1947489b7eac2ccf4c34b3212c93ed76922a595f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra')
-rw-r--r-- | infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriterFactory.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriterFactory.java b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriterFactory.java index 70328c7f5..cec88336f 100644 --- a/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriterFactory.java +++ b/infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriterFactory.java @@ -24,15 +24,11 @@ import javax.annotation.Nonnull; * Factory producing writers for {@link ModifiableWriterRegistryBuilder}. */ @Beta -public interface WriterFactory extends AutoCloseable { +public interface WriterFactory { /** * Initialize 1 or more writers and add them to provided registry. */ void init(@Nonnull ModifiableWriterRegistryBuilder registry); - @Override - default void close() { - // NOOP TODO allow unregister - } } |