From d8d98e289a6a3a07c99e1de83323083df124793e Mon Sep 17 00:00:00 2001 From: Paride Legovini Date: Wed, 11 Jan 2017 00:41:40 +0100 Subject: [PATCH] Removed stale files ApnConfiguration.java and GcmConfiguration.java are no longer used since Signal-Server uses PushServer. Closes #74 // FREEBIE --- .../configuration/ApnConfiguration.java | 40 ------------------ .../configuration/GcmConfiguration.java | 41 ------------------- 2 files changed, 81 deletions(-) delete mode 100644 src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java delete mode 100644 src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java diff --git a/src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java b/src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java deleted file mode 100644 index 5c2ccf967..000000000 --- a/src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (C) 2013 Open WhisperSystems - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -package org.whispersystems.textsecuregcm.configuration; - -import com.fasterxml.jackson.annotation.JsonProperty; -import org.hibernate.validator.constraints.NotEmpty; - - -public class ApnConfiguration { - - @NotEmpty - @JsonProperty - private String certificate; - - @NotEmpty - @JsonProperty - private String key; - - public String getCertificate() { - return certificate; - } - - public String getKey() { - return key; - } -} diff --git a/src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java b/src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java deleted file mode 100644 index e974e1d42..000000000 --- a/src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Copyright (C) 2013 Open WhisperSystems - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ -package org.whispersystems.textsecuregcm.configuration; - -import com.fasterxml.jackson.annotation.JsonProperty; -import org.hibernate.validator.constraints.NotEmpty; - -import javax.validation.constraints.NotNull; - -public class GcmConfiguration { - - @NotNull - @JsonProperty - private long senderId; - - @NotEmpty - @JsonProperty - private String apiKey; - - public String getApiKey() { - return apiKey; - } - - public long getSenderId() { - return senderId; - } -}