diff options
author | Marek Gradzki <margradz@gmail.com> | 2018-08-24 08:22:32 +0200 |
---|---|---|
committer | Marek Gradzki <margradz@gmail.com> | 2018-08-24 08:22:32 +0200 |
commit | da6e2a545018ad24380f541ff8c4beafb577deb1 (patch) | |
tree | 614ac5bf5d05c33363feab8b1480352af13b6622 /infra/translate-spi | |
parent | fa81283ec4192fc1b754a7862243f564365b0fb3 (diff) |
Remove redundant ReadFailedException from Reader.isPresent
Change-Id: Ia64b0869d1f2d9620d233f31077e72d887ef4716
Signed-off-by: Marek Gradzki <margradz@gmail.com>
Diffstat (limited to 'infra/translate-spi')
-rw-r--r-- | infra/translate-spi/src/main/java/io/fd/honeycomb/translate/spi/read/ReaderCustomizer.java | 2 |
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()); } |