]> source.dussan.org Git - poi.git/commitdiff
Change from XMLEventFactory.newFactory to XMLEventFactory.newInstance, for IBM JDK...
authorNick Burch <nick@apache.org>
Tue, 24 Feb 2015 12:03:53 +0000 (12:03 +0000)
committerNick Burch <nick@apache.org>
Tue, 24 Feb 2015 12:03:53 +0000 (12:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661903 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/PackagePropertiesMarshaller.java

index ca549f91f6dd7dbb5ba6bbd5e892e3f5c2686122..76e292beaec1d81d3473698bb2cc8ace34e76e1f 100644 (file)
@@ -34,15 +34,11 @@ import org.w3c.dom.Element;
 
 /**
  * Package properties marshaller.
- *
- * @author CDubet, Julien Chable
  */
 public class PackagePropertiesMarshaller implements PartMarshaller {
-
-    
     private final static Namespace namespaceDC, namespaceCoreProperties, namespaceDcTerms, namespaceXSI;
        static {
-           final XMLEventFactory f = XMLEventFactory.newFactory();
+           final XMLEventFactory f = XMLEventFactory.newInstance();
            namespaceDC = f.createNamespace("dc", PackagePropertiesPart.NAMESPACE_DC_URI);
            namespaceCoreProperties = f.createNamespace("cp", PackagePropertiesPart.NAMESPACE_CP_URI);
            namespaceDcTerms = f.createNamespace("dcterms", PackagePropertiesPart.NAMESPACE_DCTERMS_URI);