From e45fd4d3d9e5fa108ecd965fd2929976a01ba402 Mon Sep 17 00:00:00 2001 From: Yaliang Wu Date: Tue, 26 Jan 2021 11:53:46 -0800 Subject: [PATCH] remove spotless header file; remove copyright year in new files for historical detector --- build.gradle | 1 - spotless.license.java | 16 ---------------- .../exception/ADTaskCancelledException.java | 2 +- .../common/exception/DuplicateTaskException.java | 2 +- .../ad/model/ADTask.java | 2 +- .../ad/model/ADTaskAction.java | 2 +- .../ad/model/ADTaskProfile.java | 2 +- .../ad/model/ADTaskState.java | 2 +- .../ad/model/ADTaskType.java | 2 +- .../ad/model/AnomalyDetectorType.java | 2 +- .../ad/model/DetectionDateRange.java | 2 +- .../ad/rest/RestSearchADTasksAction.java | 2 +- .../ad/stats/InternalStatNames.java | 2 +- .../ad/task/ADBatchTaskCache.java | 2 +- .../ad/task/ADBatchTaskRunner.java | 2 +- .../ad/task/ADTaskCacheManager.java | 2 +- .../ad/task/ADTaskCancellationState.java | 2 +- .../ad/task/ADTaskManager.java | 2 +- .../ad/transport/ADBatchAnomalyResultAction.java | 2 +- .../transport/ADBatchAnomalyResultRequest.java | 2 +- .../transport/ADBatchAnomalyResultResponse.java | 2 +- .../ADBatchAnomalyResultTransportAction.java | 2 +- .../ADBatchTaskRemoteExecutionAction.java | 2 +- ...DBatchTaskRemoteExecutionTransportAction.java | 2 +- .../ad/transport/ADCancelTaskAction.java | 2 +- .../ad/transport/ADCancelTaskNodeRequest.java | 2 +- .../ad/transport/ADCancelTaskNodeResponse.java | 2 +- .../ad/transport/ADCancelTaskRequest.java | 2 +- .../ad/transport/ADCancelTaskResponse.java | 2 +- .../transport/ADCancelTaskTransportAction.java | 2 +- .../ad/transport/ADTaskProfileAction.java | 2 +- .../ad/transport/ADTaskProfileNodeRequest.java | 2 +- .../ad/transport/ADTaskProfileNodeResponse.java | 2 +- .../ad/transport/ADTaskProfileRequest.java | 2 +- .../ad/transport/ADTaskProfileResponse.java | 2 +- .../transport/ADTaskProfileTransportAction.java | 2 +- .../ad/transport/ForwardADTaskAction.java | 2 +- .../ad/transport/ForwardADTaskRequest.java | 2 +- .../transport/ForwardADTaskTransportAction.java | 2 +- .../ad/transport/SearchADTasksAction.java | 2 +- .../transport/SearchADTasksTransportAction.java | 2 +- .../ad/transport/handler/ADSearchHandler.java | 2 +- .../handler/AnomalyResultBulkIndexHandler.java | 2 +- .../ad/ADIntegTestCase.java | 2 +- .../ad/ADUnitTestCase.java | 2 +- .../ad/HistoricalDetectorIntegTestCase.java | 2 +- .../ad/HistoricalDetectorRestTestCase.java | 2 +- .../exception/ADTaskCancelledExceptionTests.java | 2 +- .../ad/mock/model/MockSimpleLog.java | 2 +- .../ad/mock/plugin/MockReindexPlugin.java | 2 +- .../transport/MockAnomalyDetectorJobAction.java | 2 +- ...nomalyDetectorJobTransportActionWithUser.java | 2 +- .../ad/model/ADTaskTests.java | 2 +- .../ad/model/DetectionDateRangeTests.java | 2 +- .../ad/rest/HistoricalDetectorRestApiIT.java | 2 +- .../ad/task/ADTaskCacheManagerTests.java | 2 +- .../ad/task/ADTaskManagerTests.java | 2 +- ...ADBatchAnomalyResultTransportActionTests.java | 2 +- .../ad/transport/ADCancelTaskTests.java | 2 +- .../ad/transport/ADTaskProfileTests.java | 2 +- .../ADTaskProfileTransportActionTests.java | 2 +- .../AnomalyDetectorJobTransportActionTests.java | 2 +- .../AnomalyResultTransportActionTests.java | 2 +- .../ad/transport/ForwardADTaskTests.java | 2 +- .../ad/transport/SearchADTasksActionTests.java | 2 +- .../SearchADTasksTransportActionTests.java | 2 +- ...StatsAnomalyDetectorTransportActionTests.java | 2 +- .../transport/handler/ADSearchHandlerTests.java | 2 +- .../AnomalyResultBulkIndexHandlerTests.java | 2 +- .../ad/util/ExceptionUtilsTests.java | 2 +- 70 files changed, 68 insertions(+), 85 deletions(-) delete mode 100644 spotless.license.java diff --git a/build.gradle b/build.gradle index 0db71ca6..6417674d 100644 --- a/build.gradle +++ b/build.gradle @@ -451,7 +451,6 @@ spotless { java { removeUnusedImports() importOrder 'java', 'javax', 'org', 'com' - licenseHeaderFile 'spotless.license.java' eclipse().configFile rootProject.file('.eclipseformat.xml') } diff --git a/spotless.license.java b/spotless.license.java deleted file mode 100644 index 2e72cee8..00000000 --- a/spotless.license.java +++ /dev/null @@ -1,16 +0,0 @@ -/* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - - diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledException.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledException.java index 939aef47..af29bc18 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledException.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/DuplicateTaskException.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/DuplicateTaskException.java index cc853b3d..dc22537e 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/DuplicateTaskException.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/common/exception/DuplicateTaskException.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTask.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTask.java index 66199f5d..fa7fa32f 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTask.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTask.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskAction.java index 53ee6f1a..fc0c55b8 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskProfile.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskProfile.java index baedc905..6505e5f4 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskProfile.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskProfile.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskState.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskState.java index 56ee6c0b..fe5801ca 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskState.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskState.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskType.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskType.java index e55d94ab..1ca51a6f 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskType.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/AnomalyDetectorType.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/AnomalyDetectorType.java index 900e7f95..81b6c2f9 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/AnomalyDetectorType.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/AnomalyDetectorType.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRange.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRange.java index 8f2483c2..1eb382d6 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRange.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRange.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/rest/RestSearchADTasksAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/rest/RestSearchADTasksAction.java index b12b5fac..60d73bae 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/rest/RestSearchADTasksAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/rest/RestSearchADTasksAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/stats/InternalStatNames.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/stats/InternalStatNames.java index c3de7ad6..430613e1 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/stats/InternalStatNames.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/stats/InternalStatNames.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskCache.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskCache.java index a5fff9e6..df123992 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskCache.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskCache.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskRunner.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskRunner.java index 29b3c5b2..be6d8ef3 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskRunner.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADBatchTaskRunner.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManager.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManager.java index a9d4331b..7b0ca511 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManager.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCancellationState.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCancellationState.java index 893ed369..decfedb7 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCancellationState.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCancellationState.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManager.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManager.java index 83ff11ea..1f331bbe 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManager.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultAction.java index 1f89404d..22d26445 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultRequest.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultRequest.java index ea6c0188..4d8e07a3 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultRequest.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultResponse.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultResponse.java index e59a4bbf..f3281dce 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultResponse.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportAction.java index d070ed29..231b34a3 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionAction.java index bccd2fcb..ae6ee4a6 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionTransportAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionTransportAction.java index 56069fc1..f743e73a 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionTransportAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchTaskRemoteExecutionTransportAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskAction.java index d1c93d38..572ae1db 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeRequest.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeRequest.java index 92fba5cf..41e2f7e7 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeRequest.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeResponse.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeResponse.java index 7703ec9a..c72cdbff 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeResponse.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskNodeResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskRequest.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskRequest.java index 16a3f21d..7b494083 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskRequest.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskResponse.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskResponse.java index 209cd218..c54b370b 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskResponse.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTransportAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTransportAction.java index d715c6ed..dbc11853 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTransportAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTransportAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileAction.java index abe90826..9cc49bfe 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeRequest.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeRequest.java index 1a8c369d..e74fc70a 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeRequest.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeResponse.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeResponse.java index 8ad6105d..b22d1d75 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeResponse.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileNodeResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileRequest.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileRequest.java index 23398e20..ea19b57a 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileRequest.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileResponse.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileResponse.java index edfa62a7..6180f1df 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileResponse.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportAction.java index 0a276bcd..d5c64f99 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskAction.java index 35bbd1db..46adeda9 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskRequest.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskRequest.java index 73b7409f..105351c6 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskRequest.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTransportAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTransportAction.java index 902897e7..bbb83bea 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTransportAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTransportAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksAction.java index 3eba89b9..8192353d 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportAction.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportAction.java index b18957c8..ac6a7705 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportAction.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandler.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandler.java index 8efa09fc..82b3f515 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandler.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandler.java b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandler.java index 1da85234..fd067ef9 100644 --- a/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandler.java +++ b/src/main/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADIntegTestCase.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADIntegTestCase.java index 0b518504..6fc25c8e 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADIntegTestCase.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADIntegTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADUnitTestCase.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADUnitTestCase.java index b2a891ab..df1ebf80 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADUnitTestCase.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/ADUnitTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorIntegTestCase.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorIntegTestCase.java index 929ff395..5b4f2378 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorIntegTestCase.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorIntegTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorRestTestCase.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorRestTestCase.java index 66773ca9..c940f19c 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorRestTestCase.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/HistoricalDetectorRestTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledExceptionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledExceptionTests.java index 0990e820..77c8a924 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledExceptionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/common/exception/ADTaskCancelledExceptionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/model/MockSimpleLog.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/model/MockSimpleLog.java index d0f62f73..a044c78d 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/model/MockSimpleLog.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/model/MockSimpleLog.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/plugin/MockReindexPlugin.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/plugin/MockReindexPlugin.java index a463ffee..2715a88c 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/plugin/MockReindexPlugin.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/plugin/MockReindexPlugin.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobAction.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobAction.java index a2bb4fda..8b0b7d47 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobAction.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobTransportActionWithUser.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobTransportActionWithUser.java index f09f3ab6..e4b86294 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobTransportActionWithUser.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/mock/transport/MockAnomalyDetectorJobTransportActionWithUser.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskTests.java index a4439a76..da36a107 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/ADTaskTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRangeTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRangeTests.java index f6d803f1..34473fcb 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRangeTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/model/DetectionDateRangeTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/rest/HistoricalDetectorRestApiIT.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/rest/HistoricalDetectorRestApiIT.java index 7a45646a..f57c2736 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/rest/HistoricalDetectorRestApiIT.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/rest/HistoricalDetectorRestApiIT.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManagerTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManagerTests.java index fdd4f52e..fec2bbe0 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManagerTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskCacheManagerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManagerTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManagerTests.java index 853d9155..5a7584c7 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManagerTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/task/ADTaskManagerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportActionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportActionTests.java index 9322c040..0380c0d9 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportActionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADBatchAnomalyResultTransportActionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTests.java index d913ef3b..59d946b1 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADCancelTaskTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTests.java index a7f8ea54..ca4cbb38 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportActionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportActionTests.java index de061e40..45acc6a1 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportActionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ADTaskProfileTransportActionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyDetectorJobTransportActionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyDetectorJobTransportActionTests.java index 62bf6632..bc1d9d6b 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyDetectorJobTransportActionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyDetectorJobTransportActionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultTransportActionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultTransportActionTests.java index 7328b8eb..77bca859 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultTransportActionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/AnomalyResultTransportActionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTests.java index 0ddab8e7..cc63b3da 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/ForwardADTaskTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksActionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksActionTests.java index 52f97574..f9994e62 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksActionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksActionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportActionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportActionTests.java index c21d8c7a..7ab4de26 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportActionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/SearchADTasksTransportActionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/StatsAnomalyDetectorTransportActionTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/StatsAnomalyDetectorTransportActionTests.java index 8bdc354f..e50260df 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/StatsAnomalyDetectorTransportActionTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/StatsAnomalyDetectorTransportActionTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandlerTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandlerTests.java index 50a98537..43ddf34e 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandlerTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/ADSearchHandlerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandlerTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandlerTests.java index eda6fadd..afa1efdd 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandlerTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/transport/handler/AnomalyResultBulkIndexHandlerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. diff --git a/src/test/java/com/amazon/opendistroforelasticsearch/ad/util/ExceptionUtilsTests.java b/src/test/java/com/amazon/opendistroforelasticsearch/ad/util/ExceptionUtilsTests.java index ebba6820..624422cb 100644 --- a/src/test/java/com/amazon/opendistroforelasticsearch/ad/util/ExceptionUtilsTests.java +++ b/src/test/java/com/amazon/opendistroforelasticsearch/ad/util/ExceptionUtilsTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License.