You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by ra...@apache.org on 2006/10/03 11:42:08 UTC

svn commit: r452377 - in /xml/security/trunk: CHANGELOG.txt src/org/apache/xml/security/transforms/TransformSpi.java

Author: raul
Date: Tue Oct  3 02:42:07 2006
New Revision: 452377

URL: http://svn.apache.org/viewvc?view=rev&rev=452377
Log:
Fix a small & unneeded java 1.4 dependecy.

Modified:
    xml/security/trunk/CHANGELOG.txt
    xml/security/trunk/src/org/apache/xml/security/transforms/TransformSpi.java

Modified: xml/security/trunk/CHANGELOG.txt
URL: http://svn.apache.org/viewvc/xml/security/trunk/CHANGELOG.txt?view=diff&rev=452377&r1=452376&r2=452377
==============================================================================
--- xml/security/trunk/CHANGELOG.txt (original)
+++ xml/security/trunk/CHANGELOG.txt Tue Oct  3 02:42:07 2006
@@ -3,6 +3,7 @@
 	Fixed bug 40512. Made TransformSPI backward compatible. Now it is possible 
 		to use implementations for the >1.3 versions paying the performance hit
 		of the old implementation.
+    Fix a small & unneeded java 1.4 dependecy.
 
 New in 1.4RC1	
 	Fixed bug 40290.

Modified: xml/security/trunk/src/org/apache/xml/security/transforms/TransformSpi.java
URL: http://svn.apache.org/viewvc/xml/security/trunk/src/org/apache/xml/security/transforms/TransformSpi.java?view=diff&rev=452377&r1=452376&r2=452377
==============================================================================
--- xml/security/trunk/src/org/apache/xml/security/transforms/TransformSpi.java (original)
+++ xml/security/trunk/src/org/apache/xml/security/transforms/TransformSpi.java Tue Oct  3 02:42:07 2006
@@ -93,9 +93,8 @@
                TransformationException, ParserConfigurationException,
                SAXException {
 	//Default implementation overide with a much better
-	TransformSpi tmp;
 	try {
-	    tmp = (TransformSpi) getClass().newInstance();
+		TransformSpi tmp = (TransformSpi) getClass().newInstance();
 	    tmp.setTransform(_transformObject);
 	    return tmp.enginePerformTransform(input);
 	} catch (InstantiationException e) {