From 604287244f2d34884a82669ef8d14712079952b1 Mon Sep 17 00:00:00 2001 From: Ehren Kret Date: Thu, 29 Oct 2020 12:29:27 -0500 Subject: [PATCH] Update copyright statement on all source files IntelliJ Copyright Profile used to automate this. --- .../WhisperServerConfiguration.java | 16 ++------------ .../textsecuregcm/WhisperServerService.java | 16 ++------------ .../auth/AccountAuthenticator.java | 16 ++------------ .../auth/AmbiguousIdentifier.java | 5 +++++ .../textsecuregcm/auth/Anonymous.java | 5 +++++ .../auth/AuthenticationCredentials.java | 16 ++------------ .../auth/AuthorizationHeader.java | 18 +++------------ .../auth/BaseAccountAuthenticator.java | 5 +++++ .../auth/CertificateGenerator.java | 5 +++++ .../auth/DisabledPermittedAccount.java | 5 +++++ ...DisabledPermittedAccountAuthenticator.java | 5 +++++ .../ExternalServiceCredentialGenerator.java | 5 +++++ .../auth/ExternalServiceCredentials.java | 5 +++++ .../InvalidAuthorizationHeaderException.java | 18 +++------------ .../textsecuregcm/auth/OptionalAccess.java | 5 +++++ .../auth/StoredRegistrationLock.java | 5 +++++ .../auth/StoredVerificationCode.java | 5 +++++ .../textsecuregcm/auth/TurnToken.java | 5 +++++ .../auth/TurnTokenGenerator.java | 5 +++++ .../auth/UnidentifiedAccessChecksum.java | 5 +++++ .../AccountDatabaseCrawlerConfiguration.java | 18 +++------------ .../configuration/ApnConfiguration.java | 18 +++------------ .../AwsAttachmentsConfiguration.java | 18 +++------------ .../configuration/CdnConfiguration.java | 5 +++++ .../CircuitBreakerConfiguration.java | 5 +++++ .../configuration/DatabaseConfiguration.java | 5 +++++ .../DirectoryClientConfiguration.java | 18 +++------------ .../configuration/DirectoryConfiguration.java | 18 +++------------ .../DirectoryServerConfiguration.java | 18 +++------------ .../FeatureFlagConfiguration.java | 5 +++++ .../configuration/GcmConfiguration.java | 18 +++------------ .../GcpAttachmentsConfiguration.java | 5 +++++ .../configuration/GraphiteConfiguration.java | 18 +++------------ .../configuration/MaxDeviceConfiguration.java | 5 +++++ .../MessageCacheConfiguration.java | 5 +++++ .../MicrometerConfiguration.java | 5 +++++ .../PaymentsServiceConfiguration.java | 5 +++++ .../configuration/PushConfiguration.java | 5 +++++ .../RateLimitsConfiguration.java | 16 ++------------ .../configuration/RecaptchaConfiguration.java | 5 +++++ .../RedisClusterConfiguration.java | 5 +++++ .../configuration/RedisConfiguration.java | 18 +++------------ .../RemoteConfigConfiguration.java | 5 +++++ .../configuration/RetryConfiguration.java | 5 +++++ .../SecureBackupServiceConfiguration.java | 5 +++++ .../SecureStorageServiceConfiguration.java | 5 +++++ .../configuration/SqsConfiguration.java | 18 +++------------ .../TestDeviceConfiguration.java | 5 +++++ .../configuration/TurnConfiguration.java | 5 +++++ .../configuration/TwilioConfiguration.java | 16 ++------------ .../TwilioCountrySenderIdConfiguration.java | 5 +++++ .../TwilioSenderIdConfiguration.java | 5 +++++ .../UnidentifiedDeliveryConfiguration.java | 5 +++++ .../VoiceVerificationConfiguration.java | 5 +++++ .../textsecuregcm/configuration/ZkConfig.java | 5 +++++ .../controllers/AccountController.java | 16 ++------------ .../controllers/AttachmentControllerBase.java | 5 +++++ .../controllers/AttachmentControllerV1.java | 16 ++------------ .../controllers/AttachmentControllerV2.java | 5 +++++ .../controllers/AttachmentControllerV3.java | 5 +++++ .../controllers/CertificateController.java | 5 +++++ .../controllers/DeviceController.java | 16 ++------------ .../DeviceLimitExceededException.java | 5 +++++ .../controllers/DirectoryController.java | 16 ++------------ .../controllers/FeatureFlagsController.java | 5 +++++ .../InvalidDestinationException.java | 5 +++++ .../controllers/KeepAliveController.java | 5 +++++ .../controllers/KeysController.java | 16 ++------------ .../controllers/MessageController.java | 16 ++------------ .../MismatchedDevicesException.java | 5 +++++ .../controllers/NoSuchUserException.java | 18 +++------------ .../controllers/PaymentsController.java | 5 +++++ .../controllers/ProfileController.java | 5 +++++ .../controllers/ProvisioningController.java | 5 +++++ .../RateLimitExceededException.java | 18 +++------------ .../controllers/RemoteConfigController.java | 5 +++++ .../controllers/SecureBackupController.java | 5 +++++ .../controllers/SecureStorageController.java | 5 +++++ .../controllers/StaleDevicesException.java | 5 +++++ .../controllers/StickerController.java | 5 +++++ .../controllers/ValidationException.java | 18 +++------------ .../VoiceVerificationController.java | 5 +++++ .../textsecuregcm/crypto/Curve.java | 5 +++++ .../textsecuregcm/crypto/DjbECPrivateKey.java | 5 +++++ .../textsecuregcm/crypto/DjbECPublicKey.java | 5 +++++ .../textsecuregcm/crypto/ECKeyPair.java | 7 +++++- .../textsecuregcm/crypto/ECPrivateKey.java | 5 +++++ .../textsecuregcm/crypto/ECPublicKey.java | 7 +++++- .../entities/AccountAttributes.java | 16 ++------------ .../textsecuregcm/entities/AccountCount.java | 18 +++------------ .../entities/AccountCreationResult.java | 5 +++++ .../entities/AcknowledgeWebsocketMessage.java | 5 +++++ .../entities/ActiveUserTally.java | 18 +++------------ .../entities/ApnRegistrationId.java | 18 +++------------ .../entities/AttachmentDescriptorV1.java | 18 +++------------ .../entities/AttachmentDescriptorV2.java | 5 +++++ .../entities/AttachmentDescriptorV3.java | 5 +++++ .../textsecuregcm/entities/AttachmentUri.java | 18 +++------------ .../textsecuregcm/entities/ClientContact.java | 18 +++------------ .../entities/ClientContactTokens.java | 18 +++------------ .../entities/ClientContacts.java | 18 +++------------ .../entities/CreateProfileRequest.java | 5 +++++ .../entities/CryptoEncodingException.java | 5 +++++ .../entities/DeliveryCertificate.java | 5 +++++ .../textsecuregcm/entities/DeprecatedPin.java | 5 +++++ .../textsecuregcm/entities/DeviceInfo.java | 5 +++++ .../entities/DeviceInfoList.java | 5 +++++ .../textsecuregcm/entities/DeviceName.java | 5 +++++ .../entities/DeviceResponse.java | 5 +++++ .../entities/DirectoryFeedbackRequest.java | 16 ++------------ .../DirectoryReconciliationRequest.java | 18 +++------------ .../DirectoryReconciliationResponse.java | 16 ++------------ .../entities/EncryptedOutgoingMessage.java | 16 ++------------ .../entities/GcmRegistrationId.java | 18 +++------------ .../entities/GroupCredentials.java | 5 +++++ .../entities/IncomingMessage.java | 18 +++------------ .../entities/IncomingMessageList.java | 16 ++------------ .../entities/IncomingWebsocketMessage.java | 5 +++++ .../textsecuregcm/entities/MessageProtos.java | 5 +++++ .../entities/MessageResponse.java | 18 +++------------ .../entities/MismatchedDevices.java | 5 +++++ .../entities/OutgoingMessageEntity.java | 5 +++++ .../entities/OutgoingMessageEntityList.java | 5 +++++ .../textsecuregcm/entities/PreKey.java | 22 +++++-------------- .../textsecuregcm/entities/PreKeyCount.java | 5 +++++ .../entities/PreKeyResponse.java | 18 +++------------ .../entities/PreKeyResponseItem.java | 18 +++------------ .../textsecuregcm/entities/PreKeyState.java | 18 +++------------ .../textsecuregcm/entities/Profile.java | 5 +++++ .../ProfileAvatarUploadAttributes.java | 5 +++++ .../entities/ProfileKeyCommitmentAdapter.java | 5 +++++ .../ProfileKeyCredentialResponseAdapter.java | 5 +++++ .../entities/ProvisioningMessage.java | 5 +++++ .../entities/RegistrationLock.java | 5 +++++ .../entities/RegistrationLockFailure.java | 5 +++++ .../entities/SendMessageResponse.java | 5 +++++ .../textsecuregcm/entities/SignedPreKey.java | 5 +++++ .../textsecuregcm/entities/StaleDevices.java | 5 +++++ .../StickerPackFormUploadAttributes.java | 5 +++++ .../entities/UnregisteredEvent.java | 5 +++++ .../entities/UnregisteredEventList.java | 5 +++++ .../entities/UserCapabilities.java | 5 +++++ .../entities/UserRemoteConfig.java | 5 +++++ .../entities/UserRemoteConfigList.java | 5 +++++ .../textsecuregcm/experiment/Experiment.java | 5 +++++ .../filters/TimestampResponseFilter.java | 5 +++++ .../textsecuregcm/gcp/CanonicalRequest.java | 5 +++++ .../gcp/CanonicalRequestGenerator.java | 5 +++++ .../gcp/CanonicalRequestSigner.java | 5 +++++ .../http/FaultTolerantHttpClient.java | 5 +++++ .../http/FormDataBodyPublisher.java | 5 +++++ .../textsecuregcm/limits/LeakyBucket.java | 20 ++++------------- .../limits/LockingRateLimiter.java | 5 +++++ .../textsecuregcm/limits/RateLimiter.java | 18 +++------------ .../textsecuregcm/limits/RateLimiters.java | 18 +++------------ .../liquibase/AbstractLiquibaseCommand.java | 5 +++++ .../liquibase/CloseableLiquibase.java | 5 +++++ .../liquibase/DbMigrateCommand.java | 7 +++++- .../liquibase/DbStatusCommand.java | 5 +++++ .../liquibase/NameableDbCommand.java | 5 +++++ .../liquibase/NameableMigrationsBundle.java | 7 +++++- .../DeviceLimitExceededExceptionMapper.java | 5 +++++ .../mappers/IOExceptionMapper.java | 18 +++------------ ...nvalidWebsocketAddressExceptionMapper.java | 5 +++++ .../RateLimitExceededExceptionMapper.java | 18 +++------------ .../metrics/BufferPoolGauges.java | 5 +++++ .../textsecuregcm/metrics/CpuUsageGauge.java | 5 +++++ .../metrics/FileDescriptorGauge.java | 5 +++++ .../metrics/FreeMemoryGauge.java | 5 +++++ .../metrics/GarbageCollectionGauges.java | 5 +++++ .../metrics/JsonMetricsReporter.java | 7 +++++- .../metrics/JsonMetricsReporterFactory.java | 5 +++++ .../LoggingNetworkAppenderFactory.java | 7 +++++- .../metrics/MaxFileDescriptorGauge.java | 5 +++++ .../MetricsApplicationEventListener.java | 5 +++++ .../metrics/MetricsRequestEventListener.java | 5 +++++ ...crometerLettuceCommandLatencyRecorder.java | 5 +++++ .../textsecuregcm/metrics/NetworkGauge.java | 5 +++++ .../metrics/NetworkReceivedGauge.java | 5 +++++ .../metrics/NetworkSentGauge.java | 5 +++++ .../metrics/OperatingSystemMemoryGauge.java | 5 +++++ .../metrics/PushLatencyManager.java | 5 +++++ .../textsecuregcm/metrics/TrafficSource.java | 5 +++++ .../metrics/UserAgentTagUtil.java | 5 +++++ .../providers/RedisClientFactory.java | 16 ++------------ .../providers/RedisClusterHealthCheck.java | 5 +++++ .../providers/RedisHealthCheck.java | 18 +++------------ .../textsecuregcm/push/APNSender.java | 16 ++------------ .../push/ApnFallbackManager.java | 5 +++++ .../textsecuregcm/push/ApnMessage.java | 5 +++++ .../push/ClientPresenceManager.java | 5 +++++ .../push/DisplacedPresenceListener.java | 5 +++++ .../textsecuregcm/push/GCMSender.java | 5 +++++ .../textsecuregcm/push/GcmMessage.java | 5 +++++ .../textsecuregcm/push/MessageSender.java | 16 ++------------ .../push/NotPushRegisteredException.java | 5 +++++ .../push/ProvisioningManager.java | 5 +++++ .../textsecuregcm/push/ReceiptSender.java | 5 +++++ .../push/RetryingApnsClient.java | 5 +++++ .../push/TransientPushFailureException.java | 5 +++++ .../recaptcha/RecaptchaClient.java | 5 +++++ .../textsecuregcm/redis/ClusterLuaScript.java | 5 +++++ .../redis/ConnectionEventLogger.java | 5 +++++ .../redis/FaultTolerantPubSubConnection.java | 5 +++++ .../redis/FaultTolerantRedisClient.java | 5 +++++ .../redis/FaultTolerantRedisCluster.java | 5 +++++ .../textsecuregcm/redis/LuaScript.java | 5 +++++ .../textsecuregcm/redis/RedisException.java | 5 +++++ .../textsecuregcm/redis/RedisOperation.java | 5 +++++ .../redis/ReplicatedJedisPool.java | 5 +++++ .../textsecuregcm/s3/PolicySigner.java | 5 +++++ .../textsecuregcm/s3/PostPolicyGenerator.java | 5 +++++ .../textsecuregcm/s3/UrlSigner.java | 16 ++------------ .../textsecuregcm/sms/SenderIdSupplier.java | 5 +++++ .../textsecuregcm/sms/SmsSender.java | 18 +++------------ .../textsecuregcm/sms/TwilioSmsSender.java | 16 ++------------ .../textsecuregcm/sqs/DirectoryQueue.java | 18 +++------------ .../storage/AbusiveHostRule.java | 5 +++++ .../storage/AbusiveHostRules.java | 5 +++++ .../textsecuregcm/storage/Account.java | 16 ++------------ .../textsecuregcm/storage/AccountCleaner.java | 16 ++------------ .../storage/AccountDatabaseCrawler.java | 16 ++------------ .../storage/AccountDatabaseCrawlerCache.java | 16 ++------------ .../AccountDatabaseCrawlerListener.java | 16 ++------------ ...ccountDatabaseCrawlerRestartException.java | 16 ++------------ .../textsecuregcm/storage/Accounts.java | 16 ++------------ .../storage/AccountsManager.java | 16 ++------------ .../storage/ActiveUserCounter.java | 16 ++------------ .../textsecuregcm/storage/Device.java | 16 ++------------ .../storage/DirectoryManager.java | 16 ++------------ .../storage/DirectoryReconciler.java | 16 ++------------ .../DirectoryReconciliationClient.java | 18 +++------------ .../storage/FaultTolerantDatabase.java | 5 +++++ .../textsecuregcm/storage/FeatureFlags.java | 5 +++++ .../storage/FeatureFlagsManager.java | 5 +++++ .../textsecuregcm/storage/Key.java | 5 +++++ .../textsecuregcm/storage/KeyRecord.java | 5 +++++ .../textsecuregcm/storage/Keys.java | 16 ++------------ .../storage/MessageAvailabilityListener.java | 5 +++++ .../storage/MessagePersister.java | 5 +++++ .../textsecuregcm/storage/Messages.java | 5 +++++ .../textsecuregcm/storage/MessagesCache.java | 5 +++++ .../storage/MessagesManager.java | 5 +++++ .../textsecuregcm/storage/PaymentAddress.java | 5 +++++ .../storage/PaymentAddressList.java | 5 +++++ .../storage/PendingAccounts.java | 16 ++------------ .../storage/PendingAccountsManager.java | 16 ++------------ .../textsecuregcm/storage/PendingDevices.java | 16 ++------------ .../storage/PendingDevicesManager.java | 16 ++------------ .../textsecuregcm/storage/Profiles.java | 5 +++++ .../storage/ProfilesManager.java | 5 +++++ .../textsecuregcm/storage/PubSubAddress.java | 5 +++++ .../textsecuregcm/storage/PubSubManager.java | 5 +++++ .../textsecuregcm/storage/PubSubProtos.java | 5 +++++ .../storage/PushFeedbackProcessor.java | 5 +++++ .../RegistrationLockVersionCounter.java | 5 +++++ .../textsecuregcm/storage/RemoteConfig.java | 5 +++++ .../textsecuregcm/storage/RemoteConfigs.java | 5 +++++ .../storage/RemoteConfigsManager.java | 5 +++++ .../storage/ReservedUsernames.java | 5 +++++ .../textsecuregcm/storage/Usernames.java | 5 +++++ .../storage/UsernamesManager.java | 5 +++++ .../storage/VersionedProfile.java | 5 +++++ .../mappers/AbusiveHostRuleRowMapper.java | 5 +++++ .../storage/mappers/AccountRowMapper.java | 7 +++++- .../storage/mappers/KeyRecordRowMapper.java | 5 +++++ .../OutgoingMessageEntityRowMapper.java | 5 +++++ .../mappers/RemoteConfigRowMapper.java | 5 +++++ .../StoredVerificationCodeRowMapper.java | 5 +++++ .../mappers/VersionedProfileMapper.java | 7 +++++- .../textsecuregcm/util/Base64.java | 5 +++++ .../util/BlockingThreadPoolExecutor.java | 7 +++++- .../textsecuregcm/util/ByteArrayAdapter.java | 18 +++------------ .../textsecuregcm/util/ByteUtil.java | 5 +++++ .../util/CertificateExpirationGauge.java | 5 +++++ .../util/CircuitBreakerUtil.java | 5 +++++ .../textsecuregcm/util/Constants.java | 5 +++++ .../textsecuregcm/util/Conversions.java | 18 +++------------ .../textsecuregcm/util/ExactlySize.java | 5 +++++ .../util/ExactlySizeValidator.java | 5 +++++ .../textsecuregcm/util/ExecutorUtils.java | 5 +++++ .../textsecuregcm/util/Hex.java | 18 +++------------ .../textsecuregcm/util/IterablePair.java | 20 ++++------------- .../textsecuregcm/util/Pair.java | 18 +++------------ .../textsecuregcm/util/RedisClusterUtil.java | 5 +++++ .../textsecuregcm/util/SystemMapper.java | 5 +++++ .../util/TimestampHeaderUtil.java | 5 +++++ .../textsecuregcm/util/Util.java | 18 +++------------ .../textsecuregcm/util/VerificationCode.java | 18 +++------------ .../util/logging/RequestLogEnabledFilter.java | 5 +++++ .../RequestLogEnabledFilterFactory.java | 5 +++++ .../util/logging/RequestLogManager.java | 5 +++++ .../textsecuregcm/util/ua/ClientPlatform.java | 5 +++++ .../ua/UnrecognizedUserAgentException.java | 5 +++++ .../textsecuregcm/util/ua/UserAgent.java | 5 +++++ .../textsecuregcm/util/ua/UserAgentUtil.java | 5 +++++ .../AuthenticatedConnectListener.java | 5 +++++ .../websocket/DeadLetterHandler.java | 5 +++++ .../InvalidWebsocketAddressException.java | 5 +++++ .../websocket/ProvisioningAddress.java | 5 +++++ .../ProvisioningConnectListener.java | 5 +++++ .../websocket/ProvisioningConnection.java | 5 +++++ .../WebSocketAccountAuthenticator.java | 5 +++++ .../websocket/WebSocketConnection.java | 5 +++++ .../websocket/WebsocketAddress.java | 5 +++++ .../workers/CertificateCommand.java | 5 +++++ .../workers/DeleteUserCommand.java | 5 +++++ .../workers/DisableRequestLoggingTask.java | 5 +++++ .../workers/EnableRequestLoggingTask.java | 5 +++++ .../workers/GetRedisCommandStatsCommand.java | 5 +++++ .../workers/GetRedisSlowlogCommand.java | 5 +++++ .../textsecuregcm/workers/VacuumCommand.java | 5 +++++ .../workers/ZkParamsCommand.java | 5 +++++ .../io.dropwizard.logging.AppenderFactory | 2 +- service/src/main/resources/abusedb.xml | 5 +++++ service/src/main/resources/accountsdb.xml | 5 +++++ service/src/main/resources/messagedb.xml | 5 +++++ .../auth/CertificateGeneratorTest.java | 5 +++++ .../FeatureFlagsControllerTest.java | 6 ++++- .../experiment/ExperimentTest.java | 5 +++++ .../filters/TimestampResponseFilterTest.java | 5 +++++ .../MetricsRequestEventListenerTest.java | 5 +++++ .../OperatingSystemMemoryGaugeTest.java | 5 +++++ .../metrics/PushLatencyManagerTest.java | 5 +++++ .../metrics/UserAgentTagUtilTest.java | 5 +++++ .../push/ClientPresenceManagerTest.java | 5 +++++ .../textsecuregcm/push/MessageSenderTest.java | 5 +++++ .../redis/AbstractRedisClusterTest.java | 5 +++++ .../redis/AbstractRedisSingletonTest.java | 5 +++++ .../redis/ClusterLuaScriptTest.java | 5 +++++ .../FaultTolerantPubSubConnectionTest.java | 5 +++++ .../redis/FaultTolerantRedisClientTest.java | 5 +++++ .../redis/FaultTolerantRedisClusterTest.java | 5 +++++ .../textsecuregcm/sqs/DirectoryQueueTest.java | 5 +++++ .../textsecuregcm/storage/DeviceTest.java | 5 +++++ .../storage/FeatureFlagsManagerTest.java | 5 +++++ .../storage/FeatureFlagsTest.java | 5 +++++ .../MessagePersisterIntegrationTest.java | 5 +++++ .../storage/MessagePersisterTest.java | 5 +++++ .../storage/MessagesCacheTest.java | 5 +++++ .../RegistrationLockVersionCounterTest.java | 5 +++++ .../storage/RemoteConfigsManagerTest.java | 5 +++++ .../auth/AuthenticationCredentialsTest.java | 5 +++++ .../auth/BaseAccountAuthenticatorTest.java | 5 +++++ ...ternalServiceCredentialsGeneratorTest.java | 5 +++++ .../tests/auth/OptionalAccessTest.java | 5 +++++ .../controllers/AccountControllerTest.java | 5 +++++ .../controllers/AttachmentControllerTest.java | 5 +++++ .../CertificateControllerTest.java | 5 +++++ .../controllers/DeviceControllerTest.java | 18 +++------------ .../controllers/DirectoryControllerTest.java | 5 +++++ .../tests/controllers/KeyControllerTest.java | 7 +++++- .../controllers/MessageControllerTest.java | 5 +++++ .../controllers/PaymentsControllerTest.java | 5 +++++ .../controllers/ProfileControllerTest.java | 5 +++++ .../RemoteConfigControllerTest.java | 5 +++++ .../SecureStorageControllerTest.java | 5 +++++ .../controllers/StickerControllerTest.java | 5 +++++ .../VoiceVerificationControllerTest.java | 5 +++++ .../tests/entities/ClientContactTest.java | 5 +++++ .../tests/entities/PreKeyTest.java | 5 +++++ .../http/FaultTolerantHttpClientTest.java | 5 +++++ .../tests/limits/LeakyBucketTest.java | 5 +++++ .../tests/push/APNSenderTest.java | 5 +++++ .../tests/push/GCMSenderTest.java | 5 +++++ .../tests/redis/ReplicatedJedisPoolTest.java | 5 +++++ .../tests/s3/PolicySignerTest.java | 5 +++++ .../tests/sms/TwilioSmsSenderTest.java | 5 +++++ .../tests/storage/AbusiveHostRulesTest.java | 5 +++++ .../tests/storage/AccountCleanerTest.java | 16 ++------------ .../storage/AccountDatabaseCrawlerTest.java | 16 ++------------ .../tests/storage/AccountTest.java | 5 +++++ .../tests/storage/AccountsManagerTest.java | 5 +++++ .../tests/storage/AccountsTest.java | 5 +++++ .../tests/storage/ActiveUserCounterTest.java | 18 +++------------ .../storage/DirectoryReconcilerTest.java | 18 +++------------ .../textsecuregcm/tests/storage/KeysTest.java | 5 +++++ .../tests/storage/MessagesTest.java | 5 +++++ .../tests/storage/PendingAccountsTest.java | 5 +++++ .../tests/storage/PendingDevicesTest.java | 5 +++++ .../tests/storage/ProfilesManagerTest.java | 5 +++++ .../tests/storage/ProfilesTest.java | 5 +++++ .../storage/PushFeedbackProcessorTest.java | 5 +++++ .../tests/storage/RemoteConfigsTest.java | 5 +++++ .../tests/storage/ReservedUsernamesTest.java | 5 +++++ .../tests/storage/UsernamesManagerTest.java | 5 +++++ .../tests/storage/UsernamesTest.java | 5 +++++ .../textsecuregcm/tests/util/AuthHelper.java | 5 +++++ .../util/BlockingThreadPoolExecutorTest.java | 5 +++++ .../textsecuregcm/tests/util/JsonHelpers.java | 5 +++++ .../tests/util/NumberPrefixTest.java | 5 +++++ .../tests/util/RedisClusterHelper.java | 5 +++++ .../util/SynchronousExecutorService.java | 5 +++++ .../tests/util/UrlSignerTest.java | 5 +++++ .../tests/util/ValidNumberTest.java | 5 +++++ .../util/CertificateExpirationGaugeTest.java | 5 +++++ .../util/RedisClusterUtilTest.java | 5 +++++ .../util/ua/UserAgentUtilTest.java | 5 +++++ .../WebSocketConnectionIntegrationTest.java | 5 +++++ .../websocket/WebSocketConnectionTest.java | 5 +++++ 400 files changed, 1787 insertions(+), 1340 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerConfiguration.java index 0850e79ae..5671a5b03 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerConfiguration.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java index b021aabfe..a32121a07 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/WhisperServerService.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AccountAuthenticator.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AccountAuthenticator.java index a57f33617..81813490a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AccountAuthenticator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AccountAuthenticator.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.auth; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AmbiguousIdentifier.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AmbiguousIdentifier.java index f936eafd8..b06ce03c5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AmbiguousIdentifier.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AmbiguousIdentifier.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import java.util.UUID; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/Anonymous.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/Anonymous.java index dac1446f4..5de8fe350 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/Anonymous.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/Anonymous.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import org.whispersystems.textsecuregcm.util.Base64; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthenticationCredentials.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthenticationCredentials.java index c63a9e158..328ff9168 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthenticationCredentials.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthenticationCredentials.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.auth; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthorizationHeader.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthorizationHeader.java index b1c2b922e..2b38daf59 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthorizationHeader.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/AuthorizationHeader.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.auth; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/BaseAccountAuthenticator.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/BaseAccountAuthenticator.java index 197baf4cb..06f1b227a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/BaseAccountAuthenticator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/BaseAccountAuthenticator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/CertificateGenerator.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/CertificateGenerator.java index fea266d2a..ff94de9b3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/CertificateGenerator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/CertificateGenerator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import com.google.protobuf.ByteString; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccount.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccount.java index 743e4a606..e2ea8368e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccount.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccount.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import org.whispersystems.textsecuregcm.storage.Account; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccountAuthenticator.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccountAuthenticator.java index b442c9213..ffdbcdc31 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccountAuthenticator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/DisabledPermittedAccountAuthenticator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import org.whispersystems.textsecuregcm.storage.Account; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialGenerator.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialGenerator.java index 22b670108..75b3a80f6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialGenerator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentialGenerator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import org.apache.commons.codec.DecoderException; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentials.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentials.java index 910b9c258..2cc86a157 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentials.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/ExternalServiceCredentials.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/InvalidAuthorizationHeaderException.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/InvalidAuthorizationHeaderException.java index b0c0f5a34..b88fbf25d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/InvalidAuthorizationHeaderException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/InvalidAuthorizationHeaderException.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.auth; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/OptionalAccess.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/OptionalAccess.java index c7271cdf9..b1225ca67 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/OptionalAccess.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/OptionalAccess.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import org.whispersystems.textsecuregcm.storage.Account; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredRegistrationLock.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredRegistrationLock.java index b1cc99c36..0bf683a85 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredRegistrationLock.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredRegistrationLock.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredVerificationCode.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredVerificationCode.java index 761ea6fad..9aa9033e1 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredVerificationCode.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/StoredVerificationCode.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnToken.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnToken.java index 9a88e136e..0595c08b1 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnToken.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnToken.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnTokenGenerator.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnTokenGenerator.java index a791f58c6..b53f0b85f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnTokenGenerator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/TurnTokenGenerator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import org.whispersystems.textsecuregcm.configuration.TurnConfiguration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessChecksum.java b/service/src/main/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessChecksum.java index 85661c946..97451b7c4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessChecksum.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/auth/UnidentifiedAccessChecksum.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.auth; import org.whispersystems.textsecuregcm.util.Base64; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AccountDatabaseCrawlerConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AccountDatabaseCrawlerConfiguration.java index 22d714a08..317418139 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AccountDatabaseCrawlerConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AccountDatabaseCrawlerConfiguration.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java index 312506022..0cf5e9c13 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ApnConfiguration.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AwsAttachmentsConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AwsAttachmentsConfiguration.java index 648b37d6a..706e95297 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AwsAttachmentsConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/AwsAttachmentsConfiguration.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CdnConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CdnConfiguration.java index 40624ed69..dd4aaea3a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CdnConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CdnConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CircuitBreakerConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CircuitBreakerConfiguration.java index 57455cb49..08557c4f2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CircuitBreakerConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/CircuitBreakerConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DatabaseConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DatabaseConfiguration.java index f22fec3b2..0b7cfcb17 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DatabaseConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DatabaseConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryClientConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryClientConfiguration.java index c412d0ff2..417a41e8e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryClientConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryClientConfiguration.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryConfiguration.java index 119d71427..53af8f079 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryConfiguration.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryServerConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryServerConfiguration.java index 313dfa583..530ee1ade 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryServerConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/DirectoryServerConfiguration.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/FeatureFlagConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/FeatureFlagConfiguration.java index 41074cdae..600196c88 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/FeatureFlagConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/FeatureFlagConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java index 37a395b21..e225e32c0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcmConfiguration.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcpAttachmentsConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcpAttachmentsConfiguration.java index 315f9aa65..ece9d01f5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcpAttachmentsConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GcpAttachmentsConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GraphiteConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GraphiteConfiguration.java index 7e0442da9..8d4ea3947 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GraphiteConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/GraphiteConfiguration.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MaxDeviceConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MaxDeviceConfiguration.java index 35088ba45..eaa0cdfa7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MaxDeviceConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MaxDeviceConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MessageCacheConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MessageCacheConfiguration.java index 15ed239d2..8f967b334 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MessageCacheConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MessageCacheConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MicrometerConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MicrometerConfiguration.java index a828a35e7..f7a871cb7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MicrometerConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/MicrometerConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PaymentsServiceConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PaymentsServiceConfiguration.java index 422de791a..cc68168a6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PaymentsServiceConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PaymentsServiceConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PushConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PushConfiguration.java index 65a527673..28678418b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PushConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/PushConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RateLimitsConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RateLimitsConfiguration.java index 75866c41f..7dc94831a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RateLimitsConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RateLimitsConfiguration.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RecaptchaConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RecaptchaConfiguration.java index 8bbbcbfb3..efab5a4b3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RecaptchaConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RecaptchaConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisClusterConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisClusterConfiguration.java index a7d5ef193..f45f5211a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisClusterConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisClusterConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisConfiguration.java index 6bc4015e1..145c84699 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RedisConfiguration.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RemoteConfigConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RemoteConfigConfiguration.java index 478aa5858..b235d176f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RemoteConfigConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RemoteConfigConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RetryConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RetryConfiguration.java index aa6d667e3..9110b05d7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RetryConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/RetryConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureBackupServiceConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureBackupServiceConfiguration.java index c11dbeba9..4bcb54a8a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureBackupServiceConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureBackupServiceConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureStorageServiceConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureStorageServiceConfiguration.java index 613e61b72..15bfd7bd4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureStorageServiceConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SecureStorageServiceConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SqsConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SqsConfiguration.java index a258c67f1..b46908111 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SqsConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/SqsConfiguration.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TestDeviceConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TestDeviceConfiguration.java index b70148911..f176e3318 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TestDeviceConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TestDeviceConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TurnConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TurnConfiguration.java index dcb13ff39..518800376 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TurnConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TurnConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioConfiguration.java index 0b5333016..a3672d2ef 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioConfiguration.java @@ -1,18 +1,6 @@ /* - 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.configuration; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioCountrySenderIdConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioCountrySenderIdConfiguration.java index 7f444cdf1..b330c48e5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioCountrySenderIdConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioCountrySenderIdConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioSenderIdConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioSenderIdConfiguration.java index 7dc769898..c4b896ec1 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioSenderIdConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/TwilioSenderIdConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/UnidentifiedDeliveryConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/UnidentifiedDeliveryConfiguration.java index 416ef303a..eddd1d9d0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/UnidentifiedDeliveryConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/UnidentifiedDeliveryConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/VoiceVerificationConfiguration.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/VoiceVerificationConfiguration.java index e9db81afd..a6b61b466 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/VoiceVerificationConfiguration.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/VoiceVerificationConfiguration.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ZkConfig.java b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ZkConfig.java index 0b4e4fb24..b44fb5c48 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ZkConfig.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/configuration/ZkConfig.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.configuration; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java index 9c5a620d2..cf4b2baea 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerBase.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerBase.java index d8aeb65ad..81286e624 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerBase.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerBase.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import org.whispersystems.textsecuregcm.util.Conversions; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV1.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV1.java index 1120e3673..67ed5bbc2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV1.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV1.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java index 2e0b48c78..44bdf9dfa 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV2.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java index f055c46fd..0c499e3bb 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AttachmentControllerV3.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/CertificateController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/CertificateController.java index 15d8dfb4d..63f54efba 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/CertificateController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/CertificateController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java index 8ab61bff4..4bf318f67 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceController.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2013-2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceLimitExceededException.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceLimitExceededException.java index 35dc1741d..457c5d2cf 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceLimitExceededException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DeviceLimitExceededException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DirectoryController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DirectoryController.java index ea2df27c6..12d603203 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DirectoryController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/DirectoryController.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/FeatureFlagsController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/FeatureFlagsController.java index dcd7bc37f..1d5b1eaff 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/FeatureFlagsController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/FeatureFlagsController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/InvalidDestinationException.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/InvalidDestinationException.java index 2ae24a5c6..cd7893707 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/InvalidDestinationException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/InvalidDestinationException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; public class InvalidDestinationException extends Exception { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeepAliveController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeepAliveController.java index c3707020f..fa39d8d9a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeepAliveController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeepAliveController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeysController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeysController.java index e88d7633b..d94c1946e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeysController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/KeysController.java @@ -1,18 +1,6 @@ /* - * 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 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MessageController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MessageController.java index 13fdf8b71..6bc508f7a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MessageController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MessageController.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MismatchedDevicesException.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MismatchedDevicesException.java index 44b924746..4f8745e1c 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MismatchedDevicesException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/MismatchedDevicesException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import java.util.List; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/NoSuchUserException.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/NoSuchUserException.java index ac03eed75..1f8500f3b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/NoSuchUserException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/NoSuchUserException.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/PaymentsController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/PaymentsController.java index e2d2c7033..76bd99a9c 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/PaymentsController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/PaymentsController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProfileController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProfileController.java index f948954c8..dbf76e4c9 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProfileController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProfileController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.amazonaws.services.s3.AmazonS3; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProvisioningController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProvisioningController.java index 62e3a10ff..3f07e40d9 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProvisioningController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ProvisioningController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RateLimitExceededException.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RateLimitExceededException.java index d08fe15bd..338cfa44d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RateLimitExceededException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RateLimitExceededException.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RemoteConfigController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RemoteConfigController.java index 3a454243d..7e1d6ccf0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RemoteConfigController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/RemoteConfigController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureBackupController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureBackupController.java index 310ef3b50..d9eca61a8 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureBackupController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureBackupController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureStorageController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureStorageController.java index feb643b51..150a62e76 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureStorageController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/SecureStorageController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import com.codahale.metrics.annotation.Timed; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StaleDevicesException.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StaleDevicesException.java index 1bfe3c432..c65a304c0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StaleDevicesException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StaleDevicesException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import java.util.List; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StickerController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StickerController.java index fa19e1951..7ba7e3ae8 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StickerController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/StickerController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import io.dropwizard.auth.Auth; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ValidationException.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ValidationException.java index f41e74567..ef7ace6a7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ValidationException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/ValidationException.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.controllers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VoiceVerificationController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VoiceVerificationController.java index 7b7f220ee..81f1b82c4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VoiceVerificationController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/VoiceVerificationController.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.controllers; import javax.ws.rs.GET; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/Curve.java b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/Curve.java index d44dfb93c..65eb4257d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/Curve.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/Curve.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.crypto; import org.whispersystems.curve25519.Curve25519; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPrivateKey.java b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPrivateKey.java index ff8c64cb1..47ffc84bb 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPrivateKey.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPrivateKey.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.crypto; public class DjbECPrivateKey implements ECPrivateKey { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPublicKey.java b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPublicKey.java index 87fdbc42c..a24a96e35 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPublicKey.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/DjbECPublicKey.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.crypto; import org.whispersystems.textsecuregcm.util.ByteUtil; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECKeyPair.java b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECKeyPair.java index c0ae79031..ad4120d22 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECKeyPair.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECKeyPair.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.crypto; public class ECKeyPair { @@ -17,4 +22,4 @@ public class ECKeyPair { public ECPrivateKey getPrivateKey() { return privateKey; } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPrivateKey.java b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPrivateKey.java index 2cc5652f6..bac0d3234 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPrivateKey.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPrivateKey.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.crypto; public interface ECPrivateKey { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPublicKey.java b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPublicKey.java index 4dd1e27f9..5511b0aaf 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPublicKey.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/crypto/ECPublicKey.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.crypto; public interface ECPublicKey extends Comparable { @@ -7,4 +12,4 @@ public interface ECPublicKey extends Comparable { public byte[] serialize(); public int getType(); -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountAttributes.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountAttributes.java index d9aee1274..99f91696b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountAttributes.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountAttributes.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCount.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCount.java index b3220cd89..c1caf6fb5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCount.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCount.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCreationResult.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCreationResult.java index 38e70570d..40770fff4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCreationResult.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AccountCreationResult.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AcknowledgeWebsocketMessage.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AcknowledgeWebsocketMessage.java index c0451b384..8393ba342 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AcknowledgeWebsocketMessage.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AcknowledgeWebsocketMessage.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ActiveUserTally.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ActiveUserTally.java index 5cb88e7c0..0bb7f3b32 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ActiveUserTally.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ActiveUserTally.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ApnRegistrationId.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ApnRegistrationId.java index 117f3b070..6c5cc8765 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ApnRegistrationId.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ApnRegistrationId.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV1.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV1.java index 3065a826d..b014e2071 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV1.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV1.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV2.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV2.java index 0ecf2c684..94f18d3c0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV2.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV2.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV3.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV3.java index 846fff616..fabca6a4a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV3.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentDescriptorV3.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentUri.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentUri.java index 51dee6940..0531c76c5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentUri.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/AttachmentUri.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContact.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContact.java index 4e1b8aa5c..136f4c35b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContact.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContact.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContactTokens.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContactTokens.java index dcff4f324..19ad7d6d9 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContactTokens.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContactTokens.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContacts.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContacts.java index cdf943b24..3c1eb33b9 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContacts.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ClientContacts.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/CreateProfileRequest.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/CreateProfileRequest.java index 386e25903..cc3d40a5f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/CreateProfileRequest.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/CreateProfileRequest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/CryptoEncodingException.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/CryptoEncodingException.java index a5b1d38b1..346092a13 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/CryptoEncodingException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/CryptoEncodingException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; public class CryptoEncodingException extends Exception { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeliveryCertificate.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeliveryCertificate.java index c925bfff5..27a0da0aa 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeliveryCertificate.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeliveryCertificate.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeprecatedPin.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeprecatedPin.java index 5a7c33446..4eb8545ff 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeprecatedPin.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeprecatedPin.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfo.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfo.java index 8ca6a1b7b..f64b78661 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfo.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfo.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfoList.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfoList.java index bb3507eed..55473ecd9 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfoList.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceInfoList.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceName.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceName.java index fc3b908b0..2dc0ab52e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceName.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceName.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceResponse.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceResponse.java index 0bef62464..908e5e9c4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceResponse.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DeviceResponse.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryFeedbackRequest.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryFeedbackRequest.java index ce7fe744d..dc0958a81 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryFeedbackRequest.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryFeedbackRequest.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2019 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationRequest.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationRequest.java index b1224d1b3..b9fe536fe 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationRequest.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationRequest.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationResponse.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationResponse.java index 144e790e9..880ed89b6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationResponse.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/DirectoryReconciliationResponse.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/EncryptedOutgoingMessage.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/EncryptedOutgoingMessage.java index 32a90a504..e6ee47398 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/EncryptedOutgoingMessage.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/EncryptedOutgoingMessage.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/GcmRegistrationId.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/GcmRegistrationId.java index 51e0110f8..b54af3fd0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/GcmRegistrationId.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/GcmRegistrationId.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/GroupCredentials.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/GroupCredentials.java index cfff4c127..2558bdd4a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/GroupCredentials.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/GroupCredentials.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessage.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessage.java index 44d5eb313..c4fd2ceda 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessage.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessage.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessageList.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessageList.java index c27be012d..12ec6104e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessageList.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingMessageList.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingWebsocketMessage.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingWebsocketMessage.java index 99586d3a8..bc2ff8945 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingWebsocketMessage.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/IncomingWebsocketMessage.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageProtos.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageProtos.java index caf6bb002..b23211ee7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageProtos.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageProtos.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + // Generated by the protocol buffer compiler. DO NOT EDIT! // source: TextSecure.proto diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageResponse.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageResponse.java index 83e92d2ba..a5c04df3a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageResponse.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/MessageResponse.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/MismatchedDevices.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/MismatchedDevices.java index 23d74dfb5..981e9b2f5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/MismatchedDevices.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/MismatchedDevices.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntity.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntity.java index 1e664df26..ceea1bd66 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntity.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntity.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntityList.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntityList.java index e8f57c97e..d65c81edd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntityList.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/OutgoingMessageEntityList.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKey.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKey.java index 9feb775fc..f7102d6e0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKey.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKey.java @@ -1,22 +1,10 @@ -package org.whispersystems.textsecuregcm.entities; - -/** - * 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 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ +package org.whispersystems.textsecuregcm.entities; + import com.fasterxml.jackson.annotation.JsonProperty; import org.hibernate.validator.constraints.NotEmpty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyCount.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyCount.java index abbe51ff7..27df671c3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyCount.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyCount.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponse.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponse.java index 3ee9fb63c..82cf7ad91 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponse.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponse.java @@ -1,18 +1,6 @@ -/** - * 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 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponseItem.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponseItem.java index bbce557ad..6e9d6bd1f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponseItem.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyResponseItem.java @@ -1,18 +1,6 @@ -/** - * 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 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyState.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyState.java index 55956b175..c288af9c2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyState.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/PreKeyState.java @@ -1,18 +1,6 @@ -/** - * 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 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.entities; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/Profile.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/Profile.java index 2147d25c6..1aab9f202 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/Profile.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/Profile.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileAvatarUploadAttributes.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileAvatarUploadAttributes.java index e47b1fae2..77b1016fa 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileAvatarUploadAttributes.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileAvatarUploadAttributes.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCommitmentAdapter.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCommitmentAdapter.java index 7f62652fe..03e9d96a6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCommitmentAdapter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCommitmentAdapter.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCredentialResponseAdapter.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCredentialResponseAdapter.java index e57bc524c..c90274873 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCredentialResponseAdapter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProfileKeyCredentialResponseAdapter.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.core.JsonGenerator; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProvisioningMessage.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProvisioningMessage.java index c6fa8518d..de87597f1 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProvisioningMessage.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/ProvisioningMessage.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLock.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLock.java index 3384d70c6..0a700a7fa 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLock.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLock.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLockFailure.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLockFailure.java index 7b063f76b..a8b292493 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLockFailure.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/RegistrationLockFailure.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonIgnore; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/SendMessageResponse.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/SendMessageResponse.java index 5b4463b57..f578fb1d6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/SendMessageResponse.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/SendMessageResponse.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/SignedPreKey.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/SignedPreKey.java index 0dafbe99e..92c8823e3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/SignedPreKey.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/SignedPreKey.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/StaleDevices.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/StaleDevices.java index cda43f3d2..2d8e4c9ac 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/StaleDevices.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/StaleDevices.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/StickerPackFormUploadAttributes.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/StickerPackFormUploadAttributes.java index 76121d85e..bd0cd92e6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/StickerPackFormUploadAttributes.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/StickerPackFormUploadAttributes.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEvent.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEvent.java index 4c6944bcc..805857773 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEvent.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEvent.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEventList.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEventList.java index 87b23ec4e..91896ab0b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEventList.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UnregisteredEventList.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java index 0a8555e11..13acc7f9b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserCapabilities.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfig.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfig.java index c3670d82d..276607cdd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfig.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfig.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfigList.java b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfigList.java index d13757029..6fba91364 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfigList.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/entities/UserRemoteConfigList.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.entities; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/experiment/Experiment.java b/service/src/main/java/org/whispersystems/textsecuregcm/experiment/Experiment.java index c00012182..de31a36db 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/experiment/Experiment.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/experiment/Experiment.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.experiment; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/filters/TimestampResponseFilter.java b/service/src/main/java/org/whispersystems/textsecuregcm/filters/TimestampResponseFilter.java index 5315f6d05..e0dd38f0e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/filters/TimestampResponseFilter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/filters/TimestampResponseFilter.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.filters; import org.whispersystems.textsecuregcm.util.TimestampHeaderUtil; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequest.java b/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequest.java index e3104b5b0..c4a94686b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequest.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.gcp; import javax.annotation.Nonnull; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestGenerator.java b/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestGenerator.java index 8bdf92f5a..d530bf887 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestGenerator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestGenerator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.gcp; import io.dropwizard.util.Strings; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestSigner.java b/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestSigner.java index 5590d7456..6c73700f2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestSigner.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/gcp/CanonicalRequestSigner.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.gcp; import org.apache.commons.codec.binary.Hex; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/http/FaultTolerantHttpClient.java b/service/src/main/java/org/whispersystems/textsecuregcm/http/FaultTolerantHttpClient.java index 89cdd8ff4..7d2da4e70 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/http/FaultTolerantHttpClient.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/http/FaultTolerantHttpClient.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.http; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/http/FormDataBodyPublisher.java b/service/src/main/java/org/whispersystems/textsecuregcm/http/FormDataBodyPublisher.java index 46f656d4b..b2935e499 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/http/FormDataBodyPublisher.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/http/FormDataBodyPublisher.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.http; import java.net.URLEncoder; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/limits/LeakyBucket.java b/service/src/main/java/org/whispersystems/textsecuregcm/limits/LeakyBucket.java index 332a86869..08e960fdf 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/limits/LeakyBucket.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/limits/LeakyBucket.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.limits; @@ -95,4 +83,4 @@ public class LeakyBucket { this.lastUpdateTimeMillis = lastUpdateTimeMillis; } } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/limits/LockingRateLimiter.java b/service/src/main/java/org/whispersystems/textsecuregcm/limits/LockingRateLimiter.java index 67775599d..067b7fb7f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/limits/LockingRateLimiter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/limits/LockingRateLimiter.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.limits; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiter.java b/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiter.java index 9512a0176..4b0d74a74 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiter.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.limits; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiters.java b/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiters.java index 6a2cf1d37..5989b2ee3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiters.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/limits/RateLimiters.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.limits; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/AbstractLiquibaseCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/AbstractLiquibaseCommand.java index 7d487f780..e3de6627d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/AbstractLiquibaseCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/AbstractLiquibaseCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.liquibase; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/CloseableLiquibase.java b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/CloseableLiquibase.java index f54bc50b8..a377a6b63 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/CloseableLiquibase.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/CloseableLiquibase.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.liquibase; import java.sql.SQLException; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbMigrateCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbMigrateCommand.java index eed6c0209..88b9a39ab 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbMigrateCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbMigrateCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.liquibase; @@ -69,4 +74,4 @@ public class DbMigrateCommand extends AbstractLiquibase } return Joiner.on(',').join(contexts); } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbStatusCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbStatusCommand.java index 045e863a3..4689ef0a4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbStatusCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/DbStatusCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.liquibase; import com.google.common.base.Charsets; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableDbCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableDbCommand.java index e188b764b..e6c91904d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableDbCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableDbCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.liquibase; import com.google.common.collect.Maps; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableMigrationsBundle.java b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableMigrationsBundle.java index 64e277f2c..7a96ec77d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableMigrationsBundle.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/liquibase/NameableMigrationsBundle.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.liquibase; import io.dropwizard.Bundle; @@ -24,4 +29,4 @@ public abstract class NameableMigrationsBundle implemen public final void run(Environment environment) { } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/DeviceLimitExceededExceptionMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/DeviceLimitExceededExceptionMapper.java index 5314b231a..3252c5665 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/DeviceLimitExceededExceptionMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/DeviceLimitExceededExceptionMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.mappers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/IOExceptionMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/IOExceptionMapper.java index 81bd06e00..c57d16755 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/IOExceptionMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/IOExceptionMapper.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.mappers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/InvalidWebsocketAddressExceptionMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/InvalidWebsocketAddressExceptionMapper.java index e47fc49d0..5ad66661a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/InvalidWebsocketAddressExceptionMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/InvalidWebsocketAddressExceptionMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.mappers; import org.whispersystems.textsecuregcm.websocket.InvalidWebsocketAddressException; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/RateLimitExceededExceptionMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/RateLimitExceededExceptionMapper.java index a2609cb90..77e9c11e1 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/mappers/RateLimitExceededExceptionMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/mappers/RateLimitExceededExceptionMapper.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.mappers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/BufferPoolGauges.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/BufferPoolGauges.java index 74ec32324..4f6ea36ff 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/BufferPoolGauges.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/BufferPoolGauges.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; import io.micrometer.core.instrument.Metrics; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/CpuUsageGauge.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/CpuUsageGauge.java index 0074a2509..26cf6358c 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/CpuUsageGauge.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/CpuUsageGauge.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; import com.codahale.metrics.CachedGauge; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FileDescriptorGauge.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FileDescriptorGauge.java index 3ea1325f7..472e2f560 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FileDescriptorGauge.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FileDescriptorGauge.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FreeMemoryGauge.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FreeMemoryGauge.java index ce8bfbf0a..8463bbb33 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FreeMemoryGauge.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/FreeMemoryGauge.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; import com.codahale.metrics.Gauge; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/GarbageCollectionGauges.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/GarbageCollectionGauges.java index 8b54d60ec..5eca2d5fd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/GarbageCollectionGauges.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/GarbageCollectionGauges.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; import io.micrometer.core.instrument.Metrics; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporter.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporter.java index 9adc09270..582bcbcdb 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporter.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; import com.codahale.metrics.Counter; @@ -252,4 +257,4 @@ public class JsonMetricsReporter extends ScheduledReporter { return new JsonMetricsReporter(registry, token, hostname, filter, rateUnit, durationUnit); } } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporterFactory.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporterFactory.java index 110d2fb20..1ac97aa1e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporterFactory.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/JsonMetricsReporterFactory.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/LoggingNetworkAppenderFactory.java b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/LoggingNetworkAppenderFactory.java index 8070ba026..27553361f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/metrics/LoggingNetworkAppenderFactory.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/metrics/LoggingNetworkAppenderFactory.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.metrics; @@ -195,4 +200,4 @@ public class LoggingNetworkAppenderFactory extends AbstractAppenderFactory. + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.providers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisClusterHealthCheck.java b/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisClusterHealthCheck.java index 762fd8a51..64ff143fd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisClusterHealthCheck.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisClusterHealthCheck.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.providers; import com.codahale.metrics.health.HealthCheck; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisHealthCheck.java b/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisHealthCheck.java index 71f39d5e2..18745ce52 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisHealthCheck.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/providers/RedisHealthCheck.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.providers; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/APNSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/APNSender.java index 1886d5846..6dcfa7418 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/APNSender.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/APNSender.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.push; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnFallbackManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnFallbackManager.java index e863f6377..2f6674d31 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnFallbackManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnFallbackManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnMessage.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnMessage.java index 0b7e9f0c5..f6cd064d0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnMessage.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/ApnMessage.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/ClientPresenceManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/ClientPresenceManager.java index e5d59d332..772bb98ba 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/ClientPresenceManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/ClientPresenceManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/DisplacedPresenceListener.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/DisplacedPresenceListener.java index ab72618b9..879d4895f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/DisplacedPresenceListener.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/DisplacedPresenceListener.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; /** diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/GCMSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/GCMSender.java index 2ac2bc8cb..22cc0c591 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/GCMSender.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/GCMSender.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/GcmMessage.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/GcmMessage.java index d2d672ff5..cd52c17e3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/GcmMessage.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/GcmMessage.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/MessageSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/MessageSender.java index 78bbbe1bd..50191444c 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/MessageSender.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/MessageSender.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.push; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/NotPushRegisteredException.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/NotPushRegisteredException.java index f4692817f..a9de877b3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/NotPushRegisteredException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/NotPushRegisteredException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; public class NotPushRegisteredException extends Exception { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/ProvisioningManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/ProvisioningManager.java index c9d7e3dbd..aa114c711 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/ProvisioningManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/ProvisioningManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; import com.google.protobuf.ByteString; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/ReceiptSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/ReceiptSender.java index 3e7d6d8c5..d9584c200 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/ReceiptSender.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/ReceiptSender.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; import org.slf4j.Logger; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/RetryingApnsClient.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/RetryingApnsClient.java index 91a1419e8..5c49ca9f5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/RetryingApnsClient.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/RetryingApnsClient.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; import com.codahale.metrics.Metric; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/TransientPushFailureException.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/TransientPushFailureException.java index e60f28ba6..cedf9c837 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/TransientPushFailureException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/TransientPushFailureException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.push; public class TransientPushFailureException extends Exception { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/recaptcha/RecaptchaClient.java b/service/src/main/java/org/whispersystems/textsecuregcm/recaptcha/RecaptchaClient.java index e068fd475..9c13de39d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/recaptcha/RecaptchaClient.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/recaptcha/RecaptchaClient.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.recaptcha; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/ClusterLuaScript.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/ClusterLuaScript.java index fd62d039f..b6b9a423a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/ClusterLuaScript.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/ClusterLuaScript.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/ConnectionEventLogger.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/ConnectionEventLogger.java index 993ad48f0..e80878c34 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/ConnectionEventLogger.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/ConnectionEventLogger.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import io.lettuce.core.cluster.event.ClusterTopologyChangedEvent; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantPubSubConnection.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantPubSubConnection.java index fcd0dd31f..8066eb1fd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantPubSubConnection.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantPubSubConnection.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClient.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClient.java index e8a19895b..d4015699e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClient.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisClient.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import com.codahale.metrics.SharedMetricRegistries; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisCluster.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisCluster.java index 147a51ed4..00e5fdae2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisCluster.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/FaultTolerantRedisCluster.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/LuaScript.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/LuaScript.java index c03d64160..029c12f36 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/LuaScript.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/LuaScript.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import java.io.ByteArrayOutputStream; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisException.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisException.java index c45cefbed..aeed3d4df 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; public class RedisException extends Exception { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisOperation.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisOperation.java index def49dc5d..54c899629 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisOperation.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/RedisOperation.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import org.slf4j.Logger; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/redis/ReplicatedJedisPool.java b/service/src/main/java/org/whispersystems/textsecuregcm/redis/ReplicatedJedisPool.java index fc3ffc74a..81677bfa7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/redis/ReplicatedJedisPool.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/redis/ReplicatedJedisPool.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.redis; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/s3/PolicySigner.java b/service/src/main/java/org/whispersystems/textsecuregcm/s3/PolicySigner.java index dfbe247bd..4067507d6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/s3/PolicySigner.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/s3/PolicySigner.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.s3; import com.amazonaws.util.Base16Lower; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/s3/PostPolicyGenerator.java b/service/src/main/java/org/whispersystems/textsecuregcm/s3/PostPolicyGenerator.java index ec45e42c8..fa7767a2d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/s3/PostPolicyGenerator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/s3/PostPolicyGenerator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.s3; import org.apache.commons.codec.binary.Base64; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/s3/UrlSigner.java b/service/src/main/java/org/whispersystems/textsecuregcm/s3/UrlSigner.java index dea50d5e7..34c6fd1b5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/s3/UrlSigner.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/s3/UrlSigner.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.s3; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/sms/SenderIdSupplier.java b/service/src/main/java/org/whispersystems/textsecuregcm/sms/SenderIdSupplier.java index 3957aada4..a6aa75565 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/sms/SenderIdSupplier.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/sms/SenderIdSupplier.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.sms; import org.apache.commons.lang3.StringUtils; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java index af9d9b8ea..9e2836361 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/sms/SmsSender.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.sms; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/sms/TwilioSmsSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/sms/TwilioSmsSender.java index f4dc11a9d..9d37c0e76 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/sms/TwilioSmsSender.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/sms/TwilioSmsSender.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.sms; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/sqs/DirectoryQueue.java b/service/src/main/java/org/whispersystems/textsecuregcm/sqs/DirectoryQueue.java index d5c2de339..1137ab114 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/sqs/DirectoryQueue.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/sqs/DirectoryQueue.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.sqs; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRule.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRule.java index 4c8fffed1..2448ff639 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRule.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRule.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import java.net.InetAddress; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRules.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRules.java index dde31ee1d..13bf0c8a5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRules.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AbusiveHostRules.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Account.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Account.java index b6593ac6a..989959d1e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Account.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Account.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountCleaner.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountCleaner.java index 0e9506f36..449a8ab1f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountCleaner.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountCleaner.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2019 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawler.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawler.java index 3898b120c..22dcf6a8f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawler.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawler.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerCache.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerCache.java index ebc24fc5c..c8a134f74 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerCache.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerCache.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerListener.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerListener.java index 71acb58ec..a0b78ff51 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerListener.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerListener.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerRestartException.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerRestartException.java index 5ccd928d6..6fcc39d05 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerRestartException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountDatabaseCrawlerRestartException.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Accounts.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Accounts.java index c25468986..3d51eb705 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Accounts.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Accounts.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountsManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountsManager.java index b65fb951c..44f0fb976 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountsManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/AccountsManager.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2013-2018 Signal - * - * 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/ActiveUserCounter.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/ActiveUserCounter.java index e6c5676a0..cc39549d5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/ActiveUserCounter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/ActiveUserCounter.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Device.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Device.java index ef3153560..f6160693c 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Device.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Device.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryManager.java index 5eefcfb99..f9893dbc2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryManager.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciler.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciler.java index 8a36335ab..23ed5a68c 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciler.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciler.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciliationClient.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciliationClient.java index 3da336f45..957807f2e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciliationClient.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/DirectoryReconciliationClient.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/FaultTolerantDatabase.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/FaultTolerantDatabase.java index 2abc395e9..e06e8749f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/FaultTolerantDatabase.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/FaultTolerantDatabase.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.SharedMetricRegistries; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlags.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlags.java index 532d33103..f54183b79 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlags.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlags.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlagsManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlagsManager.java index eaa7c0aa5..aaa569e96 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlagsManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/FeatureFlagsManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Key.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Key.java index dd3ee8677..77e67a0bb 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Key.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Key.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import java.io.IOException; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/KeyRecord.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/KeyRecord.java index 7b1222158..17fe96f5d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/KeyRecord.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/KeyRecord.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; public class KeyRecord { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Keys.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Keys.java index 19d142bc9..ab104f21f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Keys.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Keys.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessageAvailabilityListener.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessageAvailabilityListener.java index c8a40526d..2fcf1b2e2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessageAvailabilityListener.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessageAvailabilityListener.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; /** diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagePersister.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagePersister.java index 970cb6ebc..e501be180 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagePersister.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagePersister.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.Histogram; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Messages.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Messages.java index f624cab53..08bbd5378 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Messages.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Messages.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.Histogram; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCache.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCache.java index 3ccfa3cce..e6b2d559b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCache.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesCache.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesManager.java index 519b2aeff..5afed55dd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/MessagesManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddress.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddress.java index 8a646f703..00ec38e2f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddress.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddress.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddressList.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddressList.java index abf983ee5..846921981 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddressList.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PaymentAddressList.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccounts.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccounts.java index f676fad25..73bdbc156 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccounts.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccounts.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccountsManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccountsManager.java index 19c384978..788d3c6aa 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccountsManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingAccountsManager.java @@ -1,18 +1,6 @@ /* - * 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 . + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevices.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevices.java index 4cf395497..142dfe7f1 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevices.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevices.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2014 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevicesManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevicesManager.java index f4bb5921e..9b39d32ee 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevicesManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PendingDevicesManager.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2014 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.storage; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Profiles.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Profiles.java index a3020da5e..511e6999b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Profiles.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Profiles.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/ProfilesManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/ProfilesManager.java index 7a365369c..855220f2e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/ProfilesManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/ProfilesManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.fasterxml.jackson.core.JsonProcessingException; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubAddress.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubAddress.java index 55c1a05cf..91af572f3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubAddress.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubAddress.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; public interface PubSubAddress { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubManager.java index ca0f7b8bf..e2ba58d92 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import org.slf4j.Logger; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubProtos.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubProtos.java index 6f9b91ac9..9910b47bb 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubProtos.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PubSubProtos.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + // Generated by the protocol buffer compiler. DO NOT EDIT! // source: PubSubMessage.proto diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PushFeedbackProcessor.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PushFeedbackProcessor.java index 821dd48e0..f6150707f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/PushFeedbackProcessor.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/PushFeedbackProcessor.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RegistrationLockVersionCounter.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RegistrationLockVersionCounter.java index b7d28f07e..f2551d7d7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RegistrationLockVersionCounter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RegistrationLockVersionCounter.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfig.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfig.java index a71900293..c1215df12 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfig.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfig.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigs.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigs.java index 80919ed31..b07293e70 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigs.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigs.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigsManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigsManager.java index 936a8ac8e..a6dcfe6dd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigsManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/RemoteConfigsManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/ReservedUsernames.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/ReservedUsernames.java index 0b93af255..0357ec9c3 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/ReservedUsernames.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/ReservedUsernames.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Usernames.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Usernames.java index 454ad114d..c09c31e81 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/Usernames.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/Usernames.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/UsernamesManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/UsernamesManager.java index f24450a45..85850a5a2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/UsernamesManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/UsernamesManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.codahale.metrics.MetricRegistry; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/VersionedProfile.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/VersionedProfile.java index 2a9fd3be4..de30f6f0c 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/VersionedProfile.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/VersionedProfile.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AbusiveHostRuleRowMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AbusiveHostRuleRowMapper.java index d7451cc4d..a00e04004 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AbusiveHostRuleRowMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AbusiveHostRuleRowMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage.mappers; import org.jdbi.v3.core.mapper.RowMapper; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AccountRowMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AccountRowMapper.java index be504999e..450699bfd 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AccountRowMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/AccountRowMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage.mappers; import com.fasterxml.jackson.databind.ObjectMapper; @@ -27,4 +32,4 @@ public class AccountRowMapper implements RowMapper { throw new SQLException(e); } } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/KeyRecordRowMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/KeyRecordRowMapper.java index dbac32522..44573d920 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/KeyRecordRowMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/KeyRecordRowMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage.mappers; import org.jdbi.v3.core.mapper.RowMapper; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/OutgoingMessageEntityRowMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/OutgoingMessageEntityRowMapper.java index 3bea1b217..e6844e250 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/OutgoingMessageEntityRowMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/OutgoingMessageEntityRowMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage.mappers; import org.jdbi.v3.core.mapper.RowMapper; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/RemoteConfigRowMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/RemoteConfigRowMapper.java index 4364beced..c54b2655e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/RemoteConfigRowMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/RemoteConfigRowMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage.mappers; import org.jdbi.v3.core.mapper.RowMapper; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/StoredVerificationCodeRowMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/StoredVerificationCodeRowMapper.java index 65b5a383d..9a38c9261 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/StoredVerificationCodeRowMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/StoredVerificationCodeRowMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage.mappers; import org.jdbi.v3.core.mapper.RowMapper; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/VersionedProfileMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/VersionedProfileMapper.java index 579c8d413..633acf729 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/VersionedProfileMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/storage/mappers/VersionedProfileMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.storage.mappers; import org.jdbi.v3.core.mapper.RowMapper; @@ -17,4 +22,4 @@ public class VersionedProfileMapper implements RowMapper { resultSet.getString(Profiles.AVATAR), resultSet.getBytes(Profiles.COMMITMENT)); } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/Base64.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/Base64.java index 38752e016..af462a572 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/Base64.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/Base64.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; /** diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/BlockingThreadPoolExecutor.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/BlockingThreadPoolExecutor.java index 2a2cb46c7..5fd621127 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/BlockingThreadPoolExecutor.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/BlockingThreadPoolExecutor.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import com.codahale.metrics.MetricRegistry; @@ -48,4 +53,4 @@ public class BlockingThreadPoolExecutor extends ThreadPoolExecutor { public int getSize() { return ((LinkedBlockingQueue)getQueue()).size(); } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteArrayAdapter.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteArrayAdapter.java index 217716e25..30db0b661 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteArrayAdapter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteArrayAdapter.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.util; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteUtil.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteUtil.java index fa372630e..19aaed8aa 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteUtil.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ByteUtil.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import java.io.ByteArrayOutputStream; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGauge.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGauge.java index f641a377e..a33c40be2 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGauge.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGauge.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import com.codahale.metrics.CachedGauge; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/CircuitBreakerUtil.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/CircuitBreakerUtil.java index 9b6bb817c..689d5a084 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/CircuitBreakerUtil.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/CircuitBreakerUtil.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import com.codahale.metrics.Meter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/Constants.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/Constants.java index 93c939d9b..986487d12 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/Constants.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/Constants.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import io.dropwizard.util.DataSize; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/Conversions.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/Conversions.java index 05e537cdc..14f0008e4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/Conversions.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/Conversions.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.util; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySize.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySize.java index 182b04593..21f93325d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySize.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySize.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import javax.validation.Constraint; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidator.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidator.java index 2fa8cdd5d..8a828c07e 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ExactlySizeValidator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import javax.validation.ConstraintValidator; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ExecutorUtils.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ExecutorUtils.java index a7d13c43b..c380be717 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ExecutorUtils.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ExecutorUtils.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import java.util.concurrent.ArrayBlockingQueue; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/Hex.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/Hex.java index 3ce2c2189..ae45dc05b 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/Hex.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/Hex.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.util; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/IterablePair.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/IterablePair.java index 4c3be396c..7f94099d5 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/IterablePair.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/IterablePair.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.util; @@ -56,4 +44,4 @@ public class IterablePair implements Iterable> { it2.remove(); } } -} \ No newline at end of file +} diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/Pair.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/Pair.java index f7c072af3..a4ec80956 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/Pair.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/Pair.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2014 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.util; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/RedisClusterUtil.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/RedisClusterUtil.java index db76e2839..188e1e4f4 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/RedisClusterUtil.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/RedisClusterUtil.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import io.lettuce.core.cluster.SlotHash; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/SystemMapper.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/SystemMapper.java index 5a1449d72..5227595a9 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/SystemMapper.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/SystemMapper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import com.fasterxml.jackson.annotation.JsonAutoDetect; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/TimestampHeaderUtil.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/TimestampHeaderUtil.java index 6e8f784ae..5f1cdd6f6 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/TimestampHeaderUtil.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/TimestampHeaderUtil.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; public class TimestampHeaderUtil { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/Util.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/Util.java index ad57cad5f..ebfe74d1f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/Util.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/Util.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.util; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/VerificationCode.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/VerificationCode.java index 8489521a6..d16027f91 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/VerificationCode.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/VerificationCode.java @@ -1,18 +1,6 @@ -/** - * 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 . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.util; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilter.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilter.java index f1fe7cbb0..640f4d47a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilter.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilter.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.logging; import ch.qos.logback.core.filter.Filter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilterFactory.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilterFactory.java index ea4664aa1..7de341827 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilterFactory.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogEnabledFilterFactory.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.logging; import ch.qos.logback.access.spi.IAccessEvent; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogManager.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogManager.java index 15970bb58..ba6333b49 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogManager.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/logging/RequestLogManager.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.logging; import ch.qos.logback.access.spi.IAccessEvent; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/ClientPlatform.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/ClientPlatform.java index e8fd6ebdc..e9c05e970 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/ClientPlatform.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/ClientPlatform.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.ua; public enum ClientPlatform { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UnrecognizedUserAgentException.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UnrecognizedUserAgentException.java index ee6f402d9..149ed5406 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UnrecognizedUserAgentException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UnrecognizedUserAgentException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.ua; public class UnrecognizedUserAgentException extends Exception { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgent.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgent.java index 222fdebc7..3f3714662 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgent.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgent.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.ua; import com.vdurmont.semver4j.Semver; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtil.java b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtil.java index f8e94e38b..a0e718942 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtil.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtil.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.ua; import com.google.common.annotations.VisibleForTesting; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/AuthenticatedConnectListener.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/AuthenticatedConnectListener.java index e60dc49bc..06c1c4aef 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/AuthenticatedConnectListener.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/AuthenticatedConnectListener.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import com.codahale.metrics.Counter; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/DeadLetterHandler.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/DeadLetterHandler.java index 60ad64b72..982d40a39 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/DeadLetterHandler.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/DeadLetterHandler.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import com.google.protobuf.InvalidProtocolBufferException; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/InvalidWebsocketAddressException.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/InvalidWebsocketAddressException.java index 788283a57..7be8e3f6d 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/InvalidWebsocketAddressException.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/InvalidWebsocketAddressException.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; public class InvalidWebsocketAddressException extends Exception { diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningAddress.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningAddress.java index 500f5fcb1..bdd7a8245 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningAddress.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningAddress.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import org.whispersystems.textsecuregcm.util.Base64; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnectListener.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnectListener.java index 0c903ebc8..e1249da43 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnectListener.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnectListener.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import org.whispersystems.textsecuregcm.storage.PubSubManager; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnection.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnection.java index ace5f96d0..2194bc490 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnection.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/ProvisioningConnection.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import com.google.protobuf.InvalidProtocolBufferException; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketAccountAuthenticator.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketAccountAuthenticator.java index c4dfc1c4f..3106ed700 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketAccountAuthenticator.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketAccountAuthenticator.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import org.eclipse.jetty.websocket.api.UpgradeRequest; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java index 9592b7e17..a1192cfd9 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnection.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import com.codahale.metrics.Histogram; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebsocketAddress.java b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebsocketAddress.java index 8009e9d0d..df670064f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebsocketAddress.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/websocket/WebsocketAddress.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import org.whispersystems.textsecuregcm.storage.PubSubAddress; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/CertificateCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/CertificateCommand.java index ba199a41b..aa7df4870 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/CertificateCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/CertificateCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import com.google.common.base.MoreObjects; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/DeleteUserCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/DeleteUserCommand.java index 4797d983e..4fe7df015 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/DeleteUserCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/DeleteUserCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import com.fasterxml.jackson.databind.DeserializationFeature; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/DisableRequestLoggingTask.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/DisableRequestLoggingTask.java index 7e3d576fb..c6a84d251 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/DisableRequestLoggingTask.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/DisableRequestLoggingTask.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import io.dropwizard.servlets.tasks.Task; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/EnableRequestLoggingTask.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/EnableRequestLoggingTask.java index a530ace3c..5cf22f7f8 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/EnableRequestLoggingTask.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/EnableRequestLoggingTask.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import io.dropwizard.servlets.tasks.Task; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisCommandStatsCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisCommandStatsCommand.java index 96862b99c..52ebb3f05 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisCommandStatsCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisCommandStatsCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import io.dropwizard.cli.ConfiguredCommand; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisSlowlogCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisSlowlogCommand.java index cb98b572d..cdf0fe821 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisSlowlogCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/GetRedisSlowlogCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import io.dropwizard.cli.ConfiguredCommand; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/VacuumCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/VacuumCommand.java index c42bd7532..ebbbeb82f 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/VacuumCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/VacuumCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import net.sourceforge.argparse4j.inf.Namespace; diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/workers/ZkParamsCommand.java b/service/src/main/java/org/whispersystems/textsecuregcm/workers/ZkParamsCommand.java index c09c7ce67..e89b3674a 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/workers/ZkParamsCommand.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/workers/ZkParamsCommand.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.workers; import net.sourceforge.argparse4j.inf.Namespace; diff --git a/service/src/main/resources/META-INF/services/io.dropwizard.logging.AppenderFactory b/service/src/main/resources/META-INF/services/io.dropwizard.logging.AppenderFactory index 8d6c78dac..48771995f 100644 --- a/service/src/main/resources/META-INF/services/io.dropwizard.logging.AppenderFactory +++ b/service/src/main/resources/META-INF/services/io.dropwizard.logging.AppenderFactory @@ -1 +1 @@ -org.whispersystems.textsecuregcm.metrics.LoggingNetworkAppenderFactory \ No newline at end of file +org.whispersystems.textsecuregcm.metrics.LoggingNetworkAppenderFactory diff --git a/service/src/main/resources/abusedb.xml b/service/src/main/resources/abusedb.xml index 2702af0ae..e03840ef8 100644 --- a/service/src/main/resources/abusedb.xml +++ b/service/src/main/resources/abusedb.xml @@ -1,5 +1,10 @@ + + + + + + . +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.tests.controllers; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/DirectoryControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/DirectoryControllerTest.java index 8cbcb282e..791141dbe 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/DirectoryControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/DirectoryControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.google.common.collect.ImmutableSet; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/KeyControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/KeyControllerTest.java index 791a72626..afd7839d4 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/KeyControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/KeyControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.google.common.collect.ImmutableSet; @@ -575,4 +580,4 @@ public class KeyControllerTest { } -} \ No newline at end of file +} diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/MessageControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/MessageControllerTest.java index 8ee45505d..f3e238731 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/MessageControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/MessageControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/PaymentsControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/PaymentsControllerTest.java index 06b324b30..27f1258f6 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/PaymentsControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/PaymentsControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.google.common.collect.ImmutableSet; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java index 72e12de52..62a9ac5ab 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/ProfileControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.amazonaws.services.s3.AmazonS3; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/RemoteConfigControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/RemoteConfigControllerTest.java index 506e22031..640c1ace3 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/RemoteConfigControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/RemoteConfigControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.google.common.collect.ImmutableSet; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/SecureStorageControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/SecureStorageControllerTest.java index d7e08f86f..6e4fdb106 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/SecureStorageControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/SecureStorageControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.google.common.collect.ImmutableSet; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/StickerControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/StickerControllerTest.java index 7c596c58f..c5cc89b0b 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/StickerControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/StickerControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.google.common.collect.ImmutableSet; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/VoiceVerificationControllerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/VoiceVerificationControllerTest.java index 9f09d7dfd..21ff61a9f 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/VoiceVerificationControllerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/controllers/VoiceVerificationControllerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.controllers; import com.google.common.collect.ImmutableSet; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/ClientContactTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/ClientContactTest.java index d0cc19104..58b132443 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/ClientContactTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/ClientContactTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.entities; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/PreKeyTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/PreKeyTest.java index 49670167e..002a6e794 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/PreKeyTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/entities/PreKeyTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.entities; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/http/FaultTolerantHttpClientTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/http/FaultTolerantHttpClientTest.java index dcc71379f..711a52bf1 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/http/FaultTolerantHttpClientTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/http/FaultTolerantHttpClientTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.http; import com.github.tomakehurst.wiremock.junit.WireMockRule; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/limits/LeakyBucketTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/limits/LeakyBucketTest.java index 213baec79..a826b8e4a 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/limits/LeakyBucketTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/limits/LeakyBucketTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.limits; import com.fasterxml.jackson.databind.ObjectMapper; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/APNSenderTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/APNSenderTest.java index 7d3672af7..70804b7ae 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/APNSenderTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/APNSenderTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.push; import com.eatthepath.pushy.apns.ApnsClient; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/GCMSenderTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/GCMSenderTest.java index a81c5b6ad..d31acec3e 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/GCMSenderTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/push/GCMSenderTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.push; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/redis/ReplicatedJedisPoolTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/redis/ReplicatedJedisPoolTest.java index 6de3cf44f..39a82a4f7 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/redis/ReplicatedJedisPoolTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/redis/ReplicatedJedisPoolTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.redis; import io.github.resilience4j.circuitbreaker.CallNotPermittedException; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/s3/PolicySignerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/s3/PolicySignerTest.java index 665bc80a5..732b3d4cf 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/s3/PolicySignerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/s3/PolicySignerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.s3; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/sms/TwilioSmsSenderTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/sms/TwilioSmsSenderTest.java index 0345af66c..258f7859a 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/sms/TwilioSmsSenderTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/sms/TwilioSmsSenderTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.sms; import com.github.tomakehurst.wiremock.junit.WireMockRule; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AbusiveHostRulesTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AbusiveHostRulesTest.java index 5afdff17f..15338ec41 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AbusiveHostRulesTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AbusiveHostRulesTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountCleanerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountCleanerTest.java index 009425bba..571482fcd 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountCleanerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountCleanerTest.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2019 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.tests.storage; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountDatabaseCrawlerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountDatabaseCrawlerTest.java index 0981932be..de9cc1ef1 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountDatabaseCrawlerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountDatabaseCrawlerTest.java @@ -1,18 +1,6 @@ /* - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.tests.storage; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountTest.java index 02463eaa7..c7fbb8364 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import org.junit.Before; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsManagerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsManagerTest.java index 0d2964f7b..c259edbbc 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsManagerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsManagerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import io.lettuce.core.RedisException; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsTest.java index 490c48adb..c96e15142 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/AccountsTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.fasterxml.uuid.UUIDComparator; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ActiveUserCounterTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ActiveUserCounterTest.java index f1ea4a813..d1aa2e6f5 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ActiveUserCounterTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ActiveUserCounterTest.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.tests.storage; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/DirectoryReconcilerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/DirectoryReconcilerTest.java index 5160aac46..6770b4486 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/DirectoryReconcilerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/DirectoryReconcilerTest.java @@ -1,18 +1,6 @@ -/** - * Copyright (C) 2018 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-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only */ package org.whispersystems.textsecuregcm.tests.storage; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/KeysTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/KeysTest.java index 096577f3a..6efd64ede 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/KeysTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/KeysTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/MessagesTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/MessagesTest.java index 9ab65fede..9fb46f799 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/MessagesTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/MessagesTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.google.protobuf.ByteString; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingAccountsTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingAccountsTest.java index 420a7ef75..62e6a5a64 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingAccountsTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingAccountsTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingDevicesTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingDevicesTest.java index 462bca795..34047174c 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingDevicesTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PendingDevicesTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesManagerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesManagerTest.java index 599323135..c422c3fbd 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesManagerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesManagerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import io.lettuce.core.RedisException; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesTest.java index f70f97085..8891b8b0b 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ProfilesTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PushFeedbackProcessorTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PushFeedbackProcessorTest.java index 1d2bd1c37..03e5f5438 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PushFeedbackProcessorTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/PushFeedbackProcessorTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import org.junit.Before; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/RemoteConfigsTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/RemoteConfigsTest.java index 16efa1704..54b59f943 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/RemoteConfigsTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/RemoteConfigsTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ReservedUsernamesTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ReservedUsernamesTest.java index 975a4284d..54e194f6d 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ReservedUsernamesTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/ReservedUsernamesTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesManagerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesManagerTest.java index 648b03508..b068774e1 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesManagerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesManagerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import io.lettuce.core.RedisException; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesTest.java index a68de4c3b..876259988 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/storage/UsernamesTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.storage; import com.opentable.db.postgres.embedded.LiquibasePreparer; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/AuthHelper.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/AuthHelper.java index bbcc81e0b..36fc079ef 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/AuthHelper.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/AuthHelper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import com.google.common.collect.ImmutableMap; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/BlockingThreadPoolExecutorTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/BlockingThreadPoolExecutorTest.java index 9d2db5e07..cc58e2624 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/BlockingThreadPoolExecutorTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/BlockingThreadPoolExecutorTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/JsonHelpers.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/JsonHelpers.java index 0d6d870e7..dc368c0fb 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/JsonHelpers.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/JsonHelpers.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import com.fasterxml.jackson.core.JsonParseException; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/NumberPrefixTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/NumberPrefixTest.java index e5ff2b979..0ea60debb 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/NumberPrefixTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/NumberPrefixTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/RedisClusterHelper.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/RedisClusterHelper.java index e4a1a4d92..101a2575f 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/RedisClusterHelper.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/RedisClusterHelper.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import io.lettuce.core.cluster.api.StatefulRedisClusterConnection; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/SynchronousExecutorService.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/SynchronousExecutorService.java index 57388d745..1bf95b74a 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/SynchronousExecutorService.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/SynchronousExecutorService.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import com.google.common.util.concurrent.SettableFuture; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/UrlSignerTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/UrlSignerTest.java index 946a6f55c..6e8b1d7bd 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/UrlSignerTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/UrlSignerTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import com.amazonaws.HttpMethod; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/ValidNumberTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/ValidNumberTest.java index b08822d53..10594fb9b 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/ValidNumberTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/tests/util/ValidNumberTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.tests.util; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGaugeTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGaugeTest.java index 6d1057c97..2bef3da87 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGaugeTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/util/CertificateExpirationGaugeTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import org.junit.Test; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/util/RedisClusterUtilTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/util/RedisClusterUtilTest.java index ab8901367..163fe8c2a 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/util/RedisClusterUtilTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/util/RedisClusterUtilTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util; import io.lettuce.core.cluster.SlotHash; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtilTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtilTest.java index 556d5e345..b65793d1a 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtilTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/util/ua/UserAgentUtilTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.util.ua; import com.vdurmont.semver4j.Semver; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionIntegrationTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionIntegrationTest.java index 284706cf7..3ab903386 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionIntegrationTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionIntegrationTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import com.google.protobuf.ByteString; diff --git a/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionTest.java b/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionTest.java index dc90af5e9..cd8bf82e6 100644 --- a/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionTest.java +++ b/service/src/test/java/org/whispersystems/textsecuregcm/websocket/WebSocketConnectionTest.java @@ -1,3 +1,8 @@ +/* + * Copyright 2013-2020 Signal Messenger, LLC + * SPDX-License-Identifier: AGPL-3.0-only + */ + package org.whispersystems.textsecuregcm.websocket; import com.google.protobuf.ByteString;