You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by db...@apache.org on 2013/10/17 03:10:12 UTC

svn commit: r1532946 - /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java

Author: dbrosius
Date: Thu Oct 17 01:10:12 2013
New Revision: 1532946

URL: http://svn.apache.org/r1532946
Log:
remove deprecation with equivalent method (naming)

Modified:
    commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java

Modified: commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java?rev=1532946&r1=1532945&r2=1532946&view=diff
==============================================================================
--- commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java (original)
+++ commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java Thu Oct 17 01:10:12 2013
@@ -2148,7 +2148,7 @@ public final class SCXMLReader {
         // Instantiate the XMLInputFactory
         XMLInputFactory factory = XMLInputFactory.newInstance();
         if (configuration.factoryId != null && configuration.factoryClassLoader != null) {
-            factory = XMLInputFactory.newInstance(configuration.factoryId, configuration.factoryClassLoader);
+            factory = XMLInputFactory.newFactory(configuration.factoryId, configuration.factoryClassLoader);
         }
         factory.setEventAllocator(configuration.allocator);
         for (Map.Entry<String, Object> property : configuration.properties.entrySet()) {