diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2016-09-05 10:47:45 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2016-09-05 08:58:56 +0000 |
commit | f5974daaf5d094b9890145b386adc8313c705ea1 (patch) | |
tree | f80a4464c818eee07dc6857e31cc9ac1059875b9 /infra/impl/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/impl/src/main/java/io')
-rw-r--r-- | infra/impl/src/main/java/io/fd/honeycomb/impl/NetconfMonitoringReaderFactory.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/infra/impl/src/main/java/io/fd/honeycomb/impl/NetconfMonitoringReaderFactory.java b/infra/impl/src/main/java/io/fd/honeycomb/impl/NetconfMonitoringReaderFactory.java index a299dbe3f..244ae585e 100644 --- a/infra/impl/src/main/java/io/fd/honeycomb/impl/NetconfMonitoringReaderFactory.java +++ b/infra/impl/src/main/java/io/fd/honeycomb/impl/NetconfMonitoringReaderFactory.java @@ -15,6 +15,7 @@ */ package io.fd.honeycomb.impl; +import io.fd.honeycomb.translate.read.ReaderFactory; import io.fd.honeycomb.translate.read.registry.ModifiableReaderRegistryBuilder; import io.fd.honeycomb.translate.util.read.BindingBrokerReader; import org.opendaylight.controller.md.sal.binding.api.DataBroker; @@ -24,10 +25,10 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.mon import org.opendaylight.yangtools.yang.binding.InstanceIdentifier; /** - * {@link io.fd.honeycomb.translate.read.ReaderFactory} initiating reader into NETCONF's dedicated data store. + * {@link ReaderFactory} initiating reader into NETCONF's dedicated data store. * Making NETCONF operational data available over NETCONF/RESTCONF */ -public final class NetconfMonitoringReaderFactory implements AutoCloseable, io.fd.honeycomb.translate.read.ReaderFactory { +public final class NetconfMonitoringReaderFactory implements ReaderFactory { private final DataBroker netconfMonitoringBindingBrokerDependency; |