jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1343795 - /jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/AbstractTestBase.java
Date Tue, 29 May 2012 15:56:16 GMT
Author: ard
Date: Tue May 29 15:56:15 2012
New Revision: 1343795

URL: http://svn.apache.org/viewvc?rev=1343795&view=rev
Log:
OCM-47 replace deprecated method

Modified:
    jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/AbstractTestBase.java

Modified: jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/AbstractTestBase.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/AbstractTestBase.java?rev=1343795&r1=1343794&r2=1343795&view=diff
==============================================================================
--- jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/AbstractTestBase.java
(original)
+++ jackrabbit/commons/ocm/trunk/src/test/java/org/apache/jackrabbit/ocm/AbstractTestBase.java
Tue May 29 15:56:15 2012
@@ -173,8 +173,7 @@ public abstract class AbstractTestBase e
 		try
 		{
 			BufferedOutputStream os = new BufferedOutputStream(new FileOutputStream(filePath));
-			ContentHandler handler = new org.apache.xml.serialize.XMLSerializer(os, null).asContentHandler();
-			session.exportDocumentView(nodePath, handler, skipBinary, noRecurse);
+            session.exportDocumentView(nodePath, os, skipBinary, noRecurse);
 			os.flush();
 			os.close();
 		}



Mime
View raw message