poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1694120 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java
Date Tue, 04 Aug 2015 22:24:31 GMT
Author: kiwiwings
Date: Tue Aug  4 22:24:31 2015
New Revision: 1694120

URL: http://svn.apache.org/r1694120
Log:
move setting of xmlinputfactory from junit to gump-meta/poi.xml

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java?rev=1694120&r1=1694119&r2=1694120&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestPPTX2PNG.java Tue Aug
 4 22:24:31 2015
@@ -44,7 +44,7 @@ public class TestPPTX2PNG {
     @BeforeClass
     public static void activateJaxpDebug() {
         jaxpDebugEnable = setDebugFld(true);
-        setXmlInputFactory();
+//        setXmlInputFactory();
     }
 
     @AfterClass
@@ -67,16 +67,16 @@ public class TestPPTX2PNG {
         }
     }
 
-    private static void setXmlInputFactory() {
-        String propName = "javax.xml.stream.XMLInputFactory";
-        String propVal = "com.sun.xml.internal.stream.XMLInputFactoryImpl";
-        try {
-            Class.forName(propVal);
-            System.setProperty(propName, propVal);
-        } catch (Exception e){
-            // ignore
-        }
-    }
+//    private static void setXmlInputFactory() {
+//        String propName = "javax.xml.stream.XMLInputFactory";
+//        String propVal = "com.sun.xml.internal.stream.XMLInputFactoryImpl";
+//        try {
+//            Class.forName(propVal);
+//            System.setProperty(propName, propVal);
+//        } catch (Exception e){
+//            // ignore
+//        }
+//    }
     
     
     @Test



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message