summaryrefslogtreecommitdiffstats
path: root/infra/translate-spi/src
diff options
context:
space:
mode:
authorMarek Gradzki <margradz@gmail.com>2018-08-24 08:22:32 +0200
committerMarek Gradzki <margradz@gmail.com>2018-08-24 08:22:32 +0200
commitda6e2a545018ad24380f541ff8c4beafb577deb1 (patch)
tree614ac5bf5d05c33363feab8b1480352af13b6622 /infra/translate-spi/src
parentfa81283ec4192fc1b754a7862243f564365b0fb3 (diff)
Remove redundant ReadFailedException from Reader.isPresent
Change-Id: Ia64b0869d1f2d9620d233f31077e72d887ef4716 Signed-off-by: Marek Gradzki <margradz@gmail.com>
Diffstat (limited to 'infra/translate-spi/src')
-rw-r--r--infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/read/ReaderCustomizer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/read/ReaderCustomizer.java b/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/read/ReaderCustomizer.java
index 738431eea..df8e975bb 100644
--- a/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/read/ReaderCustomizer.java
+++ b/infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/read/ReaderCustomizer.java
@@ -68,7 +68,7 @@ public interface ReaderCustomizer<O extends DataObject, B extends Builder<O>> {
*
* @return true if value is present (even if empty)
*/
- default boolean isPresent(final InstanceIdentifier<O> id, final O built, final ReadContext ctx) throws ReadFailedException {
+ default boolean isPresent(final InstanceIdentifier<O> id, final O built, final ReadContext ctx) {
// Default impl = check whether read value is empty
return !built.equals(getBuilder(id).build());
}