usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [19/33] git commit: update apns size
Date Fri, 05 Sep 2014 21:11:22 GMT
update apns size


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

Branch: refs/heads/two-dot-o
Commit: 1e7a1aeea02856832a43e822ef3f622938e8e42d
Parents: 390baed
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Thu Aug 21 08:21:03 2014 -0600
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Thu Aug 21 08:21:03 2014 -0600

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


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/1e7a1aee/stack/services/src/main/java/org/apache/usergrid/services/notifications/apns/APNsAdapter.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/notifications/apns/APNsAdapter.java
b/stack/services/src/main/java/org/apache/usergrid/services/notifications/apns/APNsAdapter.java
index 552d138..ded9ac7 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/notifications/apns/APNsAdapter.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/notifications/apns/APNsAdapter.java
@@ -220,7 +220,7 @@ public class APNsAdapter implements ProviderAdapter {
         }
         if (payload.length() > 2048) {
             throw new IllegalArgumentException(
-                    "Apple APNs payloads must be 256 characters or less");
+                    "Apple APNs payloads must be 2048 characters or less");
         }
         return payload;
     }


Mime
View raw message