}
}
- private final Entry<YangInstanceIdentifier, NormalizedNode<?, ?>> domItem;
+ private final Entry<YangInstanceIdentifier, NormalizedNode> domItem;
private final DefaultQueryResult<T> result;
@SuppressWarnings("unused")
- @SuppressFBWarnings(value = "NP_STORE_INTO_NONNULL_FIELD", justification = "Ungrokked type annotation")
+ @SuppressFBWarnings(
+ value = { "NP_STORE_INTO_NONNULL_FIELD", "URF_UNREAD_FIELD" },
+ justification = "Ungrokked type annotation. https://github.com/spotbugs/spotbugs/issues/2749")
private volatile @Nullable InstanceIdentifier<T> path = null;
@SuppressWarnings("unused")
- @SuppressFBWarnings(value = "NP_STORE_INTO_NONNULL_FIELD", justification = "Ungrokked type annotation")
+ @SuppressFBWarnings(
+ value = { "NP_STORE_INTO_NONNULL_FIELD", "URF_UNREAD_FIELD" },
+ justification = "Ungrokked type annotation. https://github.com/spotbugs/spotbugs/issues/2749")
private volatile @Nullable T object = null;
DefaultQueryResultItem(final DefaultQueryResult<T> result,
- final Entry<YangInstanceIdentifier, NormalizedNode<?, ?>> domItem) {
+ final Entry<YangInstanceIdentifier, NormalizedNode> domItem) {
this.result = requireNonNull(result);
this.domItem = requireNonNull(domItem);
}