You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by James M Snell <ja...@gmail.com> on 2007/11/24 04:21:41 UTC
Re: svn commit: r597770 - /incubator/abdera/java/trunk/jcr/src/test/java/org/apache/abdera/jcr/JcrCollectionProviderTest.java
Btw, with the current trunk, you should now be able to do...
doc.writeTo("prettyxml", System.out);
... as a shortcut.
- James
bcm@apache.org wrote:
> 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();
> }
>
>
>
>