shindig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hsapu...@apache.org
Subject svn commit: r1351536 - /shindig/trunk/java/common/src/main/java/org/apache/shindig/protocol/JsonRpcServlet.java
Date Tue, 19 Jun 2012 00:02:35 GMT
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);



Mime
View raw message