}
final NormalizedNode<?, ?> input = args.iterator().next();
- Preconditions
- .checkArgument(input instanceof DataContainerChild<?, ?>, "Input container has to be of type Data Container Child.");
- this.args = new ArrayList<>((Collection) input.getValue());
+ Preconditions.checkArgument(input instanceof DataContainerChild<?, ?>, "Input container has to be of type Data Container Child.");
+ this.args = new ArrayList<>((Collection<NormalizedNode<?, ?>>) input.getValue());
for (final NormalizedNode<?, ?> arg : this.args) {
nameToArg.put(arg.getNodeType().getLocalName(), arg);