Author: hsaputra
Date: Tue Jun 19 00:02:34 2012
New Revision: 1351536
URL: http://svn.apache.org/viewvc?rev=1351536&view=rev
Log:
Simple fix of setting sorted by calling the right getter
Modified:
shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java
Modified:
shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java
URL:
http://svn.apache.org/viewvc/shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java?rev=1351536&r1=1351535&r2=1351536&view=diff
==============================================================================
---
shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java
(original)
+++
shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java
Tue Jun 19 00:02:34 2012
@@ -289,7 +289,7 @@ public class JsonRpcServlet extends ApiS
map.put("updatedSince", collection.isUpdatedSince());
if (!collection.isSorted())
- map.put("sorted", collection.isUpdatedSince());
+ map.put("sorted", collection.isSorted());
map.put("list", collection.getList());
addResult(result, map);