Fix and improve Javadoc in spring-oxm

See gh-28796
This commit is contained in:
Marc Wrobel 2022-07-12 13:50:38 +02:00 committed by Sam Brannen
parent ac06d1dfa9
commit b30eb6837c
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import javax.xml.transform.Result;
*
* <p>Although the {@code marshal} method accepts a {@code java.lang.Object} as its
* first parameter, most {@code Marshaller} implementations cannot handle arbitrary
* {@code Object}s. Instead, a object class must be registered with the marshaller,
* {@code Object}s. Instead, an object class must be registered with the marshaller,
* or have a common base class.
*
* @author Arjen Poutsma

View File

@ -488,7 +488,7 @@ public abstract class AbstractMarshaller implements Marshaller, Unmarshaller {
/**
* Abstract template method for marshalling the given object graph to a DOM {@code Node}.
* <p>In practice, node is be a {@code Document} node, a {@code DocumentFragment} node,
* <p>In practice, {@code node} is a {@code Document} node, a {@code DocumentFragment} node,
* or a {@code Element} node. In other words, a node that accepts children.
* @param graph the root of the object graph to marshal
* @param node the DOM node that will contain the result tree