From e18b463eef259300a35af2b59f360d0b0e84f33b Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 12 Feb 2024 20:06:49 +0530 Subject: [PATCH] chore : Cleanup duplicate license in files after license-maven-plugin upgrade Related to https://github.com/fabric8io/kubernetes-client/pull/5483 After bulk update of license headers due to minor change in license header format, some files got license header duplicated due to wrong positioning of license header earlier. Signed-off-by: Rohan Kumar --- chaos-tests/src/test/java/ChaosIT.java | 15 --------------- .../fabric8/kubernetes/client/dsl/Scalable.java | 16 ---------------- .../examples/PersistentVolumeClaimExample.java | 17 ----------------- 3 files changed, 48 deletions(-) diff --git a/chaos-tests/src/test/java/ChaosIT.java b/chaos-tests/src/test/java/ChaosIT.java index e41d72d8821..153fee9cbdb 100644 --- a/chaos-tests/src/test/java/ChaosIT.java +++ b/chaos-tests/src/test/java/ChaosIT.java @@ -14,21 +14,6 @@ * limitations under the License. */ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License 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. - */ import io.fabric8.junit.jupiter.api.KubernetesTest; import io.fabric8.junit.jupiter.api.LoadKubernetesManifests; import io.fabric8.kubernetes.api.model.EnvVarBuilder; diff --git a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/dsl/Scalable.java b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/dsl/Scalable.java index d524f6258aa..8638e0de6da 100644 --- a/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/dsl/Scalable.java +++ b/kubernetes-client-api/src/main/java/io/fabric8/kubernetes/client/dsl/Scalable.java @@ -15,22 +15,6 @@ */ package io.fabric8.kubernetes.client.dsl; -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License 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. - */ - import io.fabric8.kubernetes.api.model.autoscaling.v1.Scale; public interface Scalable { diff --git a/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/PersistentVolumeClaimExample.java b/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/PersistentVolumeClaimExample.java index 894f2875afb..0f5d760917d 100644 --- a/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/PersistentVolumeClaimExample.java +++ b/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/PersistentVolumeClaimExample.java @@ -13,23 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License 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. - */ - package io.fabric8.kubernetes.examples; import io.fabric8.kubernetes.api.model.NodeSelectorRequirementBuilder;