From b16cea20258ba537db7c0755208c82ab93331ff7 Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Mon, 8 Apr 2019 11:37:45 +0200 Subject: HONEYCOMB-443: ODL bump to Neon - bumps ODL dependencies to neon - migrates guava optional to java.utils.optional Change-Id: Ibdaa365c7e21a341103aba88dfd67277e40d2969 Signed-off-by: Michal Cmarada --- .../src/main/java/io/fd/honeycomb/data/ReadableDataManager.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'infra/data-api') diff --git a/infra/data-api/src/main/java/io/fd/honeycomb/data/ReadableDataManager.java b/infra/data-api/src/main/java/io/fd/honeycomb/data/ReadableDataManager.java index 0e772b79c..c0eeb6dce 100644 --- a/infra/data-api/src/main/java/io/fd/honeycomb/data/ReadableDataManager.java +++ b/infra/data-api/src/main/java/io/fd/honeycomb/data/ReadableDataManager.java @@ -17,10 +17,9 @@ package io.fd.honeycomb.data; import com.google.common.annotations.Beta; -import com.google.common.base.Optional; -import com.google.common.util.concurrent.CheckedFuture; +import com.google.common.util.concurrent.FluentFuture; +import java.util.Optional; import javax.annotation.Nonnull; -import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException; import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier; import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode; @@ -37,5 +36,5 @@ public interface ReadableDataManager { * @param path Path of the node * @return a CheckFuture containing the result of the read. */ - CheckedFuture>, ReadFailedException> read(@Nonnull final YangInstanceIdentifier path); + FluentFuture>> read(@Nonnull final YangInstanceIdentifier path); } -- cgit 1.2.3-korg