You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2014/09/22 16:02:31 UTC

git commit: remove add collections

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o fe94cc07a -> 311e15c0b


remove add collections


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

Branch: refs/heads/two-dot-o
Commit: 311e15c0bd0be2b3084d0b2cdecb4e00b2c24590
Parents: fe94cc0
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Sep 22 08:02:00 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Sep 22 08:02:00 2014 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/311e15c0/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java b/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
index 4b11974..84b2d68 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
@@ -123,7 +123,7 @@ public class SingleQueueTaskManager implements NotificationsTaskManager {
             receipt.setUuid(savedReceipt.getUuid());
 
             List<EntityRef> entities = Arrays.asList(notification, device);
-            em.addToCollections(entities, Notification.RECEIPTS_COLLECTION, savedReceipt);
+//            em.addToCollections(entities, Notification.RECEIPTS_COLLECTION, savedReceipt);
         } else {
             em.update(receipt);
         }