usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [3/5] git commit: fix send to all parameter
Date Tue, 21 Oct 2014 20:34:51 GMT
fix send to all parameter


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/27bc6a43
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/27bc6a43
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/27bc6a43

Branch: refs/heads/loadtest
Commit: 27bc6a4371cd148411f25687cb4c92020d1ce12a
Parents: dcf97c4
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Tue Oct 21 14:01:36 2014 -0600
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Tue Oct 21 14:01:36 2014 -0600

----------------------------------------------------------------------
 .../usergrid/services/notifications/NotificationsService.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/27bc6a43/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsService.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsService.java
b/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsService.java
index 3617fda..750b305 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsService.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsService.java
@@ -176,7 +176,7 @@ public class NotificationsService extends AbstractCollectionService {
             org.apache.usergrid.persistence.index.query.Query query = sp.getQuery();
             if (query == null) {
                 query = new Query();
-                if(collection == "devices" && sp.isName() && sp.getName().equals("notifications"))
{
+                if(collection.equals("devices") && sp.isName() && sp.getName().equals("notifications"))
{
                         //look for queries to /devices;ql=/notifications
                 }else{
                     query.addIdentifier(sp.getIdentifier());


Mime
View raw message