abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1452121 - in /abdera/java/trunk: examples/src/main/java/org/apache/abdera/examples/appserver/custom/SimpleAdapter.java security/src/test/java/org/apache/abdera/test/security/filter/SimpleAdapter.java
Date Sun, 03 Mar 2013 21:02:05 GMT
Author: veithen
Date: Sun Mar  3 21:02:05 2013
New Revision: 1452121

URL: http://svn.apache.org/r1452121
Log:
Applied the fix in r1452103 to the two other SimpleAdapter classes.

Modified:
    abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/custom/SimpleAdapter.java
    abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SimpleAdapter.java

Modified: abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/custom/SimpleAdapter.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/custom/SimpleAdapter.java?rev=1452121&r1=1452120&r2=1452121&view=diff
==============================================================================
--- abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/custom/SimpleAdapter.java
(original)
+++ abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/appserver/custom/SimpleAdapter.java
Sun Mar  3 21:02:05 2013
@@ -130,7 +130,7 @@ public class SimpleAdapter extends Abstr
                 feed.insertEntry(entry);
                 feed.setUpdated(new Date());
                 BaseResponseContext rc =
-                    (BaseResponseContext)ProviderHelper.returnBase(entry_doc, 201, entry.getEdited());
+                    (BaseResponseContext)ProviderHelper.returnBase(entry, 201, entry.getEdited());
                 return rc.setLocation(ProviderHelper.resolveBase(request).resolve(entry.getEditLinkResolvedHref())
                     .toString()).setContentLocation(rc.getLocation().toString()).setEntityTag(ProviderHelper
                     .calculateEntityTag(entry));

Modified: abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SimpleAdapter.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SimpleAdapter.java?rev=1452121&r1=1452120&r2=1452121&view=diff
==============================================================================
--- abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SimpleAdapter.java
(original)
+++ abdera/java/trunk/security/src/test/java/org/apache/abdera/test/security/filter/SimpleAdapter.java
Sun Mar  3 21:02:05 2013
@@ -123,7 +123,7 @@ public class SimpleAdapter extends Abstr
                 feed.insertEntry(entry);
                 feed.setUpdated(new Date());
                 BaseResponseContext rc =
-                    (BaseResponseContext)ProviderHelper.returnBase(entry_doc, 201, entry.getEdited());
+                    (BaseResponseContext)ProviderHelper.returnBase(entry, 201, entry.getEdited());
                 return rc.setLocation(ProviderHelper.resolveBase(request).resolve(entry.getEditLinkResolvedHref())
                     .toString()).setContentLocation(rc.getLocation().toString()).setEntityTag(ProviderHelper
                     .calculateEntityTag(entry));



Mime
View raw message