From 4044a9df3006069b5d677b8a3fc1bf80e2e076d2 Mon Sep 17 00:00:00 2001 From: Ehren Kret Date: Fri, 6 Jan 2023 11:02:35 -0600 Subject: [PATCH] stop warning about lack of syntax specification during proto generation --- service/src/main/proto/PubSubMessage.proto | 18 ++++-------------- service/src/main/proto/TextSecure.proto | 18 ++++-------------- 2 files changed, 8 insertions(+), 28 deletions(-) diff --git a/service/src/main/proto/PubSubMessage.proto b/service/src/main/proto/PubSubMessage.proto index 036f43953..de8dd31db 100644 --- a/service/src/main/proto/PubSubMessage.proto +++ b/service/src/main/proto/PubSubMessage.proto @@ -1,19 +1,9 @@ /** - * Copyright (C) 2014 Open Whisper Systems - * - * 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 . + * Copyright 2014 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ +syntax = "proto2"; + package textsecure; option java_package = "org.whispersystems.textsecuregcm.storage"; diff --git a/service/src/main/proto/TextSecure.proto b/service/src/main/proto/TextSecure.proto index 978f8118c..bae56dde3 100644 --- a/service/src/main/proto/TextSecure.proto +++ b/service/src/main/proto/TextSecure.proto @@ -1,19 +1,9 @@ /** - * Copyright (C) 2013 - 2015 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 . + * Copyright 2013 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ +syntax = "proto2"; + package textsecure; option java_package = "org.whispersystems.textsecuregcm.entities";