summaryrefslogtreecommitdiffstats
path: root/infra/data-impl/src
diff options
context:
space:
mode:
Diffstat (limited to 'infra/data-impl/src')
-rw-r--r--infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/DelegatingRewriteDeleteProducer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/DelegatingRewriteDeleteProducer.java b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/DelegatingRewriteDeleteProducer.java
index 855485e75..6c2146208 100644
--- a/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/DelegatingRewriteDeleteProducer.java
+++ b/infra/data-impl/src/main/java/io/fd/honeycomb/data/impl/DelegatingRewriteDeleteProducer.java
@@ -44,7 +44,6 @@ abstract class DelegatingRewriteDeleteProducer implements RewriteDeleteProducer
@Nonnull final Map.Entry<YangInstanceIdentifier.PathArgument, DataContainerChild<? extends YangInstanceIdentifier.PathArgument, ?>> entry) {
// just delegates to lower level
checkState(entry.getValue() instanceof DataContainerNode, "Unable to extract children");
- checkState(entry.getValue() instanceof DataContainerChild, "Unable to extract identifier");
final Collection<DataContainerChild<? extends YangInstanceIdentifier.PathArgument, ?>> value =
DataContainerNode.class.cast(entry.getValue()).getValue();
return value.stream()