diff --git a/org.springframework.oxm/src/main/java/org/springframework/oxm/castor/CastorMarshaller.java b/org.springframework.oxm/src/main/java/org/springframework/oxm/castor/CastorMarshaller.java index 2864a6c68a1..eabaa9a2bb6 100644 --- a/org.springframework.oxm/src/main/java/org/springframework/oxm/castor/CastorMarshaller.java +++ b/org.springframework.oxm/src/main/java/org/springframework/oxm/castor/CastorMarshaller.java @@ -66,7 +66,7 @@ import org.springframework.util.xml.StaxUtils; * control over the behavior of Castor. * *

If a target class is specified using setTargetClass, the CastorMarshaller can only be - * used to unmarshall XML that represents that specific class. If you want to unmarshall multiple classes, you have to + * used to unmarshal XML that represents that specific class. If you want to unmarshal multiple classes, you have to * provide a mapping file using setMappingLocations. * *

Due to limitations of Castor's API, it is required to set the encoding used for writing to output streams. It @@ -660,7 +660,7 @@ public class CastorMarshaller extends AbstractMarshaller implements Initializing * occurs * during marshalling or unmarshalling, since Castor itself does not make this distinction in its exception hierarchy. * - * @param ex Castor XMLException that occured + * @param ex Castor XMLException that occurred * @param marshalling indicates whether the exception occurs during marshalling (true), or unmarshalling * (false) * @return the corresponding XmlMappingException