abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From calav...@apache.org
Subject svn commit: r674096 - /incubator/abdera/java/trunk/adapters/jcr/src/main/java/org/apache/abdera/protocol/server/adapters/jcr/JcrCollectionAdapter.java
Date Fri, 04 Jul 2008 17:22:38 GMT
Author: calavera
Date: Fri Jul  4 10:22:37 2008
New Revision: 674096

URL: http://svn.apache.org/viewvc?rev=674096&view=rev
Log:
build is broken due a bug with java 5, Thanks to  Sergio Bossa

Modified:
    incubator/abdera/java/trunk/adapters/jcr/src/main/java/org/apache/abdera/protocol/server/adapters/jcr/JcrCollectionAdapter.java

Modified: incubator/abdera/java/trunk/adapters/jcr/src/main/java/org/apache/abdera/protocol/server/adapters/jcr/JcrCollectionAdapter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/adapters/jcr/src/main/java/org/apache/abdera/protocol/server/adapters/jcr/JcrCollectionAdapter.java?rev=674096&r1=674095&r2=674096&view=diff
==============================================================================
--- incubator/abdera/java/trunk/adapters/jcr/src/main/java/org/apache/abdera/protocol/server/adapters/jcr/JcrCollectionAdapter.java
(original)
+++ incubator/abdera/java/trunk/adapters/jcr/src/main/java/org/apache/abdera/protocol/server/adapters/jcr/JcrCollectionAdapter.java
Fri Jul  4 10:22:37 2008
@@ -44,6 +44,7 @@
 import org.apache.abdera.i18n.iri.IRI;
 import org.apache.abdera.i18n.text.Sanitizer;
 import org.apache.abdera.model.Content;
+import org.apache.abdera.model.Element;
 import org.apache.abdera.model.Person;
 import org.apache.abdera.model.Text;
 import org.apache.abdera.model.Content.Type;
@@ -348,7 +349,7 @@
   private String asString(Content content2) throws ResponseContextException {
     ByteArrayOutputStream bos = new ByteArrayOutputStream();
     try {
-      content2.getFirstChild().writeTo(bos);
+	content2.<Element>getFirstChild().writeTo(bos);
     } catch (IOException e) {
       throw new ResponseContextException(500, e);
     }



Mime
View raw message