Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkmoore2010-12-28 11:04:48 -0500
committerkmoore2010-12-28 11:04:48 -0500
commit508f587ec44f98a46fe3428eceee19cd055e8a60 (patch)
tree8b80e42ebcc3854340a081c54f1dfc973bff37fd
parent966aa7819a8513fa2f1c3ed9f1cc3746a5aa309f (diff)
downloadwebtools.dali-508f587ec44f98a46fe3428eceee19cd055e8a60.tar.gz
webtools.dali-508f587ec44f98a46fe3428eceee19cd055e8a60.tar.xz
webtools.dali-508f587ec44f98a46fe3428eceee19cd055e8a60.zip
minor change to use xmlNsPrefixContainer for update
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlSchema.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlSchema.java b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlSchema.java
index 4ab5a1210a..99aaae30ec 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlSchema.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.core/src/org/eclipse/jpt/jaxb/core/internal/context/java/GenericJavaXmlSchema.java
@@ -55,7 +55,7 @@ public class GenericJavaXmlSchema
}
public void update() {
- this.updateNodes(getXmlNsPrefixes());
+ this.updateXmlNsPrefixes();
}
@Override
@@ -203,6 +203,10 @@ public class GenericJavaXmlSchema
this.xmlNsPrefixContainer.synchronizeWithResourceModel();
}
+ protected void updateXmlNsPrefixes() {
+ this.xmlNsPrefixContainer.update();
+ }
+
protected ListIterable<XmlNsAnnotation> getXmlNsAnnotations() {
return getXmlSchemaAnnotation().getXmlns();
}

Back to the top