commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1532946 - /commons/proper/scxml/trunk/src/main/java/org/apache/commons/scxml2/io/SCXMLReader.java
Date Thu, 17 Oct 2013 01:10:12 GMT
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())
{



Mime
View raw message