Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-20 15:30:35 -0400
committerRyan D. Brooks2010-09-20 15:30:35 -0400
commita44accb2e62aa8d96e6d31002d09290b567cdcfc (patch)
treefd33a96a46c137efb4e58b9917678ceeb1fac342 /plugins
parent916c579b09ac251268d67ae10fcabccfc19be7a7 (diff)
downloadorg.eclipse.osee-a44accb2e62aa8d96e6d31002d09290b567cdcfc.tar.gz
org.eclipse.osee-a44accb2e62aa8d96e6d31002d09290b567cdcfc.tar.xz
org.eclipse.osee-a44accb2e62aa8d96e6d31002d09290b567cdcfc.zip
refactor: Add deprecated newDocument method to support OTE legacy code
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java
index e84570fc14..b26002b80f 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/util/xml/Jaxp.java
@@ -543,6 +543,14 @@ public class Jaxp {
return format;
}
+ /**
+ * @deprecated Use {@link #newDocumentNamespaceAware()} instead
+ */
+ @Deprecated
+ public static Document newDocument() throws ParserConfigurationException {
+ return newDocumentNamespaceAware();
+ }
+
public static Document newDocumentNamespaceAware() throws ParserConfigurationException {
DocumentBuilder builder = namespceAwareFactory.newDocumentBuilder();
return builder.newDocument();

Back to the top