Return-Path: X-Original-To: apmail-usergrid-commits-archive@minotaur.apache.org Delivered-To: apmail-usergrid-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54498177E3 for ; Tue, 21 Oct 2014 19:59:21 +0000 (UTC) Received: (qmail 30784 invoked by uid 500); 21 Oct 2014 19:59:21 -0000 Delivered-To: apmail-usergrid-commits-archive@usergrid.apache.org Received: (qmail 30765 invoked by uid 500); 21 Oct 2014 19:59:21 -0000 Mailing-List: contact commits-help@usergrid.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@usergrid.incubator.apache.org Delivered-To: mailing list commits@usergrid.incubator.apache.org Received: (qmail 30724 invoked by uid 99); 21 Oct 2014 19:59:21 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2014 19:59:21 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C76DF93B7FC; Tue, 21 Oct 2014 19:59:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sfeldman@apache.org To: commits@usergrid.apache.org Date: Tue, 21 Oct 2014 19:59:21 -0000 Message-Id: <960cccf952e14ea095e1ca27fa8942de@git.apache.org> In-Reply-To: <2a1726dbfcb946ec99d77fa3768e7b43@git.apache.org> References: <2a1726dbfcb946ec99d77fa3768e7b43@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: fix send to all parameter 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/dcf97c40 Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/dcf97c40 Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/dcf97c40 Branch: refs/heads/two-dot-o Commit: dcf97c40cbace248dae6dbd01531356b72855165 Parents: f9cc232 Author: Shawn Feldman Authored: Tue Oct 21 13:59:00 2014 -0600 Committer: Shawn Feldman Committed: Tue Oct 21 13:59:00 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/dcf97c40/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 4a6e067..3617fda 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 == "devices" && sp.isName() && sp.getName().equals("notifications")) { //look for queries to /devices;ql=/notifications }else{ query.addIdentifier(sp.getIdentifier());