From c0e6aefda11bb82560dd3ab21891e02f9a77e649 Mon Sep 17 00:00:00 2001 From: kaixuan xu Date: Thu, 16 Jan 2025 12:59:40 +0000 Subject: [PATCH] fix(lint): add license title Signed-off-by: kaixuan xu --- .../io/opengemini/client/api/CompressMethod.java | 2 +- .../io/opengemini/client/api/ContentType.java | 2 +- .../common/compress/GzipCompressorTest.java | 16 ++++++++++++++++ .../common/compress/SnappyCompressorTest.java | 16 ++++++++++++++++ .../common/compress/ZstdCompressorTest.java | 16 ++++++++++++++++ 5 files changed, 50 insertions(+), 2 deletions(-) diff --git a/opengemini-client-api/src/main/java/io/opengemini/client/api/CompressMethod.java b/opengemini-client-api/src/main/java/io/opengemini/client/api/CompressMethod.java index c509cfb..b323425 100644 --- a/opengemini-client-api/src/main/java/io/opengemini/client/api/CompressMethod.java +++ b/opengemini-client-api/src/main/java/io/opengemini/client/api/CompressMethod.java @@ -30,4 +30,4 @@ public enum CompressMethod { public String getValue() { return value; } -} +} \ No newline at end of file diff --git a/opengemini-client-api/src/main/java/io/opengemini/client/api/ContentType.java b/opengemini-client-api/src/main/java/io/opengemini/client/api/ContentType.java index 7b79315..69e1fbc 100644 --- a/opengemini-client-api/src/main/java/io/opengemini/client/api/ContentType.java +++ b/opengemini-client-api/src/main/java/io/opengemini/client/api/ContentType.java @@ -29,4 +29,4 @@ public enum ContentType { public String getValue() { return value; } -} +} \ No newline at end of file diff --git a/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/GzipCompressorTest.java b/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/GzipCompressorTest.java index 3382c82..779c79e 100644 --- a/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/GzipCompressorTest.java +++ b/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/GzipCompressorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 openGemini Authors + * + * 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.opengemini.client.common.compress; import org.junit.jupiter.api.Test; diff --git a/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/SnappyCompressorTest.java b/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/SnappyCompressorTest.java index 6ee82e2..fc566ef 100644 --- a/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/SnappyCompressorTest.java +++ b/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/SnappyCompressorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 openGemini Authors + * + * 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.opengemini.client.common.compress; import org.junit.jupiter.api.Test; diff --git a/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/ZstdCompressorTest.java b/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/ZstdCompressorTest.java index 3ed6068..3847ee0 100644 --- a/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/ZstdCompressorTest.java +++ b/opengemini-client-common/src/test/java/io/opengemini/client/common/compress/ZstdCompressorTest.java @@ -1,3 +1,19 @@ +/* + * Copyright 2024 openGemini Authors + * + * 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.opengemini.client.common.compress; import org.junit.jupiter.api.Test;