This is a drive-by cleanup of whitespace.
Change-Id: Ib691ab3a04ee25938d4c1bd670ae62a01162565a
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
}
@Override
- protected Object deserializeObject(NormalizedNode<?, ?> normalizedNode) {
+ protected Object deserializeObject(final NormalizedNode<?, ?> normalizedNode) {
return deserialize(normalizedNode);
}
-
}
\ No newline at end of file
import java.util.List;
import org.opendaylight.yangtools.yang.binding.DataObject;
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier.PathArgument;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
import org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode;
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
import org.opendaylight.yangtools.yang.model.api.ChoiceCaseNode;
@Override
protected void addYangPathArgument(final PathArgument arg,
- final List<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument> builder) {
+ final List<YangInstanceIdentifier.PathArgument> builder) {
// NOOP
}
}
@Override
- protected Object deserializeObject(NormalizedNode<?, ?> normalizedNode) {
+ protected Object deserializeObject(final NormalizedNode<?, ?> normalizedNode) {
return deserialize(normalizedNode);
}
@Override
- public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument serializePathArgument(
- PathArgument arg) {
+ public YangInstanceIdentifier.PathArgument serializePathArgument(
+ final PathArgument arg) {
Preconditions.checkArgument(arg == null);
return null;
}
@Override
- public PathArgument deserializePathArgument(
- org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument arg) {
+ public PathArgument deserializePathArgument(final YangInstanceIdentifier.PathArgument arg) {
Preconditions.checkArgument(arg == null);
return null;
}
byCaseChildClass = ImmutableMap.copyOf(byCaseChildClassBuilder);
}
-
@SuppressWarnings("unchecked")
@Override
public <DV extends DataObject> DataContainerCodecContext<DV, ?> streamChild(final Class<DV> childClass) {
return (DataContainerCodecContext<DV, ?>) childNonNull(child, childClass, "Supplied class %s is not valid case", childClass).get();
}
-
@SuppressWarnings("unchecked")
@Override
public <DV extends DataObject> Optional<DataContainerCodecContext<DV, ?>> possibleStreamChild(
}
@Override
- public YangInstanceIdentifier.PathArgument serializePathArgument(
- final PathArgument arg) {
+ public YangInstanceIdentifier.PathArgument serializePathArgument(final PathArgument arg) {
// FIXME: check for null, since binding container is null.
return getDomPathArgument();
}
-
}
import org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode;
import org.opendaylight.yangtools.yang.model.api.ContainerSchemaNode;
-final class ContainerNodeCodecContext<D extends DataObject> extends DataObjectCodecContext<D,ContainerSchemaNode> {
+final class ContainerNodeCodecContext<D extends DataObject> extends DataObjectCodecContext<D, ContainerSchemaNode> {
ContainerNodeCodecContext(final DataContainerCodecPrototype<ContainerSchemaNode> prototype) {
super(prototype);
}
@Override
- protected Object deserializeObject(NormalizedNode<?, ?> normalizedNode) {
+ protected Object deserializeObject(final NormalizedNode<?, ?> normalizedNode) {
return deserialize(normalizedNode);
}
-
}
\ No newline at end of file
}
@Override
- protected Object deserializeObject(NormalizedNode<?, ?> node) {
+ protected Object deserializeObject(final NormalizedNode<?, ?> node) {
if (node instanceof MapNode) {
return fromMap((MapNode) node);
} else if (node instanceof MapEntryNode) {
}
return ret;
}
-
}
\ No newline at end of file
}
@Override
- protected Object deserializeObject(NormalizedNode<?, ?> normalizedNode) {
+ protected Object deserializeObject(final NormalizedNode<?, ?> normalizedNode) {
return deserialize(normalizedNode);
}
-
}
\ No newline at end of file
throw e;
}
}
-
}
\ No newline at end of file