Use CompletableFuture.failedFuture() in CheckedValue 05/87105/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Jan 2020 12:53:01 +0000 (13:53 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 23 Jan 2020 12:53:44 +0000 (13:53 +0100)
commit70480c62399318c1cad70e51db2817b2f98ce70d
treee65887ebd054e88bcd6f24137ffc60812011b7f0
parent14dfa746369dbb6f19c2be1dc5bcab23d69ca50a
Use CompletableFuture.failedFuture() in CheckedValue

Java 9 improves usability here, allowing us to trim some code.

Change-Id: I7b723b86bd8ab18ecf4bb81caa41cbe0642c4056
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
common/concepts/src/main/java/org/opendaylight/yangtools/concepts/CheckedValue.java