summaryrefslogtreecommitdiffstats
path: root/vpp-common/naming-context-impl/src/main/java/io/fd
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
commitfa78239a1060643ce3e1914f741e0a41928f525c (patch)
tree57e7f0b5f7f28ac6c7238b05ffa2eb4d13e1742c /vpp-common/naming-context-impl/src/main/java/io/fd
parent359aed1662ca62ae289a70330c6bab0df4226f3b (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 'vpp-common/naming-context-impl/src/main/java/io/fd')
-rw-r--r--vpp-common/naming-context-impl/src/main/java/io/fd/honeycomb/vpp/context/ContextsReaderFactory.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/vpp-common/naming-context-impl/src/main/java/io/fd/honeycomb/vpp/context/ContextsReaderFactory.java b/vpp-common/naming-context-impl/src/main/java/io/fd/honeycomb/vpp/context/ContextsReaderFactory.java
index 6d3a3f13b..0745475f7 100644
--- a/vpp-common/naming-context-impl/src/main/java/io/fd/honeycomb/vpp/context/ContextsReaderFactory.java
+++ b/vpp-common/naming-context-impl/src/main/java/io/fd/honeycomb/vpp/context/ContextsReaderFactory.java
@@ -15,6 +15,7 @@
*/
package io.fd.honeycomb.vpp.context;
+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.honeycomb.params.xml.ns.yang.naming.cont
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
/**
- * {@link io.fd.honeycomb.translate.read.ReaderFactory} initiating reader providing data from context data store.
+ * {@link ReaderFactory} initiating reader providing data from context data store.
* Making them available over RESTCONF/NETCONF.
*/
-public final class ContextsReaderFactory implements AutoCloseable, io.fd.honeycomb.translate.read.ReaderFactory {
+public final class ContextsReaderFactory implements ReaderFactory {
private final DataBroker contextBindingBrokerDependency;