summaryrefslogtreecommitdiffstats
path: root/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/gpe/translate/read/NativeForwardPathCustomizer.java
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/gpe/translate/read/NativeForwardPathCustomizer.java')
-rw-r--r--lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/gpe/translate/read/NativeForwardPathCustomizer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/gpe/translate/read/NativeForwardPathCustomizer.java b/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/gpe/translate/read/NativeForwardPathCustomizer.java
index 5d06b4c68..70cfa6d38 100644
--- a/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/gpe/translate/read/NativeForwardPathCustomizer.java
+++ b/lisp/lisp2vpp/src/main/java/io/fd/hc2vpp/lisp/gpe/translate/read/NativeForwardPathCustomizer.java
@@ -170,13 +170,13 @@ public class NativeForwardPathCustomizer extends FutureJVppCustomizer
final ModificationCache modificationCache,
final DumpCacheManager<GpeNativeFwdRpathsGetReply, Integer> dumpCacheManager)
throws ReadFailedException {
- return dumpCacheManager.getDump(id, modificationCache, 1).or(DEFAULT_DUMP);
+ return dumpCacheManager.getDump(id, modificationCache, 1).orElse(DEFAULT_DUMP);
}
private static GpeNativeFwdRpathsGetReply v6Dump(final @Nonnull InstanceIdentifier<?> id,
final ModificationCache modificationCache,
final DumpCacheManager<GpeNativeFwdRpathsGetReply, Integer> dumpCacheManager)
throws ReadFailedException {
- return dumpCacheManager.getDump(id, modificationCache, 0).or(DEFAULT_DUMP);
+ return dumpCacheManager.getDump(id, modificationCache, 0).orElse(DEFAULT_DUMP);
}
}