Skip to content

Commit b30eb68

Browse files
marcwrobelsbrannen
authored andcommitted
Fix and improve Javadoc in spring-oxm
See gh-28796
1 parent ac06d1d commit b30eb68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-oxm/src/main/java/org/springframework/oxm/Marshaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* <p>Although the {@code marshal} method accepts a {@code java.lang.Object} as its
2828
* first parameter, most {@code Marshaller} implementations cannot handle arbitrary
29-
* {@code Object}s. Instead, a object class must be registered with the marshaller,
29+
* {@code Object}s. Instead, an object class must be registered with the marshaller,
3030
* or have a common base class.
3131
*
3232
* @author Arjen Poutsma

spring-oxm/src/main/java/org/springframework/oxm/support/AbstractMarshaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ else if (streamSource.getReader() != null) {
488488

489489
/**
490490
* Abstract template method for marshalling the given object graph to a DOM {@code Node}.
491-
* <p>In practice, node is be a {@code Document} node, a {@code DocumentFragment} node,
491+
* <p>In practice, {@code node} is a {@code Document} node, a {@code DocumentFragment} node,
492492
* or a {@code Element} node. In other words, a node that accepts children.
493493
* @param graph the root of the object graph to marshal
494494
* @param node the DOM node that will contain the result tree

0 commit comments

Comments
 (0)