Bring gcm-sender-async in as a module

This commit is contained in:
Moxie Marlinspike
2019-05-29 11:03:33 -07:00
parent 6e0b956e61
commit e6f25b9c5e
23 changed files with 1115 additions and 13 deletions

View File

@@ -40,7 +40,7 @@ public class GCMSender implements Managed {
private final Meter unregistered = metricRegistry.meter(name(getClass(), "sent", "unregistered"));
private final Meter canonical = metricRegistry.meter(name(getClass(), "sent", "canonical"));
private final Map<String, Meter> outboundMeters = new HashMap<String, Meter>() {{
private final Map<String, Meter> outboundMeters = new HashMap<>() {{
put("receipt", metricRegistry.meter(name(getClass(), "outbound", "receipt")));
put("notification", metricRegistry.meter(name(getClass(), "outbound", "notification")));
}};