abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject svn commit: r597770 - /incubator/abdera/java/trunk/jcr/src/test/java/org/apache/abdera/jcr/JcrCollectionProviderTest.java
Date Sat, 24 Nov 2007 00:30:54 GMT
Author: bcm
Date: Fri Nov 23 16:30:54 2007
New Revision: 597770

URL: http://svn.apache.org/viewvc?rev=597770&view=rev
Log:
fix compilation issue with generics

Modified:
    incubator/abdera/java/trunk/jcr/src/test/java/org/apache/abdera/jcr/JcrCollectionProviderTest.java

Modified: incubator/abdera/java/trunk/jcr/src/test/java/org/apache/abdera/jcr/JcrCollectionProviderTest.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/jcr/src/test/java/org/apache/abdera/jcr/JcrCollectionProviderTest.java?rev=597770&r1=597769&r2=597770&view=diff
==============================================================================
--- incubator/abdera/java/trunk/jcr/src/test/java/org/apache/abdera/jcr/JcrCollectionProviderTest.java
(original)
+++ incubator/abdera/java/trunk/jcr/src/test/java/org/apache/abdera/jcr/JcrCollectionProviderTest.java
Fri Nov 23 16:30:54 2007
@@ -34,6 +34,7 @@
 import org.apache.abdera.protocol.server.impl.SingletonProviderManager;
 import org.apache.abdera.protocol.server.impl.WorkspaceProvider;
 import org.apache.abdera.protocol.server.servlet.AbderaServlet;
+import org.apache.abdera.writer.Writer;
 import org.apache.jackrabbit.core.TransientRepository;
 import org.mortbay.jetty.Server;
 import org.mortbay.jetty.servlet.Context;
@@ -149,7 +150,8 @@
     }
 
     protected void prettyPrint(Abdera abdera, Base doc) throws IOException {
-      abdera.getWriterFactory().getWriter("prettyxml").writeTo(doc, System.out);
+      Writer writer = abdera.getWriterFactory().getWriter("prettyxml");
+      writer.writeTo(doc, System.out);
       System.out.println();
     }
     



Mime
View raw message