}
public void writeValue(@Nonnull final XMLStreamWriter writer, @Nonnull final SchemaNode schemaNode, final Object value) throws XMLStreamException {
- writeValue(writer, schemaNode, value, Optional.<QNameModule>absent());
+ writeValue(writer, schemaNode, value, Optional.absent());
}
public void writeValue(@Nonnull final XMLStreamWriter writer, @Nonnull final SchemaNode schemaNode, final Object value, final QNameModule parent) throws XMLStreamException {
if (parent.isPresent()) {
write(writer, (IdentityrefTypeDefinition) baseType, value, parent);
} else {
- write(writer, (IdentityrefTypeDefinition) baseType, value, Optional.<QNameModule>absent());
+ write(writer, (IdentityrefTypeDefinition) baseType, value, Optional.absent());
}
} else if (baseType instanceof InstanceIdentifierTypeDefinition) {
write(writer, (InstanceIdentifierTypeDefinition) baseType, value);
}
public void writeValue(@Nonnull final XMLStreamWriter writer, @Nonnull final TypeDefinition<?> type, final Object value) throws XMLStreamException {
- writeValue(writer, type, value, Optional.<QNameModule>absent());
+ writeValue(writer, type, value, Optional.absent());
}
@VisibleForTesting