diff --git a/oxm-tiger/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java b/oxm-tiger/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java index 3213f768..67801d52 100644 --- a/oxm-tiger/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java +++ b/oxm-tiger/src/main/java/org/springframework/oxm/jaxb/Jaxb2Marshaller.java @@ -111,7 +111,7 @@ public class Jaxb2Marshaller extends AbstractJaxbMarshaller { * Sets the schema resource to use for validation. */ public void setSchema(Resource schemaResource) { - this.schemaResources = new Resource[]{schemaResource}; + schemaResources = new Resource[]{schemaResource}; } /**