abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r1176027 - /abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/AbderaSession.java
Date Mon, 26 Sep 2011 20:26:57 GMT
Author: jmsnell
Date: Mon Sep 26 20:26:57 2011
New Revision: 1176027

URL: http://svn.apache.org/viewvc?rev=1176027&view=rev
Log: (empty)

Modified:
    abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/AbderaSession.java

Modified: abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/AbderaSession.java
URL: http://svn.apache.org/viewvc/abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/AbderaSession.java?rev=1176027&r1=1176026&r2=1176027&view=diff
==============================================================================
--- abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/AbderaSession.java
(original)
+++ abdera/abdera2/client/src/main/java/org/apache/abdera2/protocol/client/AbderaSession.java
Mon Sep 26 20:26:57 2011
@@ -123,7 +123,7 @@ public class AbderaSession extends Sessi
      * @param options The request options
      */
     public <T extends ClientResponse>T post(String uri, Entry entry, ContentBody media,
String contentType, RequestOptions options) {
-        return wrap(execute("POST", uri, new MultipartRelatedEntity(entry, media, contentType),
options));
+        return (T)wrap(execute("POST", uri, new MultipartRelatedEntity(entry, media, contentType),
options));
     }
 
     /**



Mime
View raw message