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/08/25 21:56:40 UTC
git commit: fix size issues
Repository: incubator-usergrid
Updated Branches:
refs/heads/two-dot-o-notifications-queue 5b3948b0d -> 6cbd52353
fix size issues
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/6cbd5235
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/6cbd5235
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/6cbd5235
Branch: refs/heads/two-dot-o-notifications-queue
Commit: 6cbd52353d36cfbf6347971bd28f3c34ee80c6ca
Parents: 5b3948b
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Aug 25 13:56:26 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Aug 25 13:56:26 2014 -0600
----------------------------------------------------------------------
.../services/notifications/NotificationsQueueManager.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/6cbd5235/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsQueueManager.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsQueueManager.java b/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsQueueManager.java
index e2b9df3..70a7770 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsQueueManager.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/notifications/NotificationsQueueManager.java
@@ -294,7 +294,7 @@ public class NotificationsQueueManager implements NotificationServiceProxy {
}
boolean foundNotifier = false;
try {
- String notifierName = message.getNotifierName();
+ String notifierName = message.getNotifierName().toLowerCase();
Notifier notifier = notifierMap.get(notifierName.toLowerCase());
Object payload = translatedPayloads.get(notifierName);
Receipt receipt = new Receipt(notification.getUuid(), message.getNotifierId(), payload, deviceUUID, message);
@@ -420,7 +420,7 @@ public class NotificationsQueueManager implements NotificationServiceProxy {
Map<String, Object> translatedPayloads = new HashMap<String, Object>(
payloads.size());
for (Map.Entry<String, Object> entry : payloads.entrySet()) {
- String payloadKey = entry.getKey();
+ String payloadKey = entry.getKey().toLowerCase();
Object payloadValue = entry.getValue();
Notifier notifier = notifierMap.get(payloadKey);
if(notifier==null){