Drop the GCM `RECEIPT` message type (unused).

This commit is contained in:
Jon Chambers 2020-05-01 15:40:22 -04:00 committed by Jon Chambers
parent 10840b22c5
commit 50d7929e76
2 changed files with 1 additions and 2 deletions

View File

@ -70,7 +70,6 @@ public class GCMSender implements Managed {
String key;
switch (message.getType()) {
case RECEIPT: key = "receipt"; break;
case NOTIFICATION: key = "notification"; break;
case CHALLENGE: key = "challenge"; break;
default: throw new AssertionError();

View File

@ -7,7 +7,7 @@ import java.util.Optional;
public class GcmMessage {
public enum Type {
RECEIPT, NOTIFICATION, CHALLENGE
NOTIFICATION, CHALLENGE
}
private final String gcmId;