summaryrefslogtreecommitdiffstats
path: root/infra/translate-api/src/main
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-09-05 09:44:34 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-09-05 07:47:29 +0000
commitf5fe9e5bb66e03d767883ceeb66f1788bbdd752c (patch)
tree18e6a2ee3c0b98cbdaf566dccc9f92ba31a5eb0e /infra/translate-api/src/main
parentcaba54834ef80017f2477b0c3355213a4ca57f33 (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/translate-api/src/main')
-rw-r--r--infra/translate-api/src/main/java/io/fd/honeycomb/translate/write/WriterFactory.java6
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
- }
}