From 8ce3963d775c31a8d144325f3ca78a510c0181c7 Mon Sep 17 00:00:00 2001 From: z30034863 Date: Wed, 26 Feb 2025 12:02:48 +0800 Subject: [PATCH 1/2] CleanCode Signed-off-by: z30034863 --- adapter/ohos/CommandParser.java | 2 +- adapter/ohos/Compressor.java | 2 +- adapter/ohos/DefinePermission.java | 2 +- adapter/ohos/HapInfo.java | 2 +- adapter/ohos/JsonUtil.java | 2 +- adapter/ohos/ModuleAdaption.java | 2 +- adapter/ohos/ModuleApiVersion.java | 2 +- adapter/ohos/ModuleInfo.java | 2 +- adapter/ohos/Utility.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/adapter/ohos/CommandParser.java b/adapter/ohos/CommandParser.java index 8b046304..24426a4b 100644 --- a/adapter/ohos/CommandParser.java +++ b/adapter/ohos/CommandParser.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/Compressor.java b/adapter/ohos/Compressor.java index 33461812..a09d3729 100644 --- a/adapter/ohos/Compressor.java +++ b/adapter/ohos/Compressor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2024 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2025. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/DefinePermission.java b/adapter/ohos/DefinePermission.java index e7a2a43c..e7f5e76b 100644 --- a/adapter/ohos/DefinePermission.java +++ b/adapter/ohos/DefinePermission.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/HapInfo.java b/adapter/ohos/HapInfo.java index 9f2c7ebb..64961e97 100644 --- a/adapter/ohos/HapInfo.java +++ b/adapter/ohos/HapInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/JsonUtil.java b/adapter/ohos/JsonUtil.java index 74ba0f65..64bd4fbc 100644 --- a/adapter/ohos/JsonUtil.java +++ b/adapter/ohos/JsonUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/ModuleAdaption.java b/adapter/ohos/ModuleAdaption.java index e5e42519..4461f977 100644 --- a/adapter/ohos/ModuleAdaption.java +++ b/adapter/ohos/ModuleAdaption.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/ModuleApiVersion.java b/adapter/ohos/ModuleApiVersion.java index 0a870524..8da955f6 100644 --- a/adapter/ohos/ModuleApiVersion.java +++ b/adapter/ohos/ModuleApiVersion.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/ModuleInfo.java b/adapter/ohos/ModuleInfo.java index cb349b44..8dbd9dfc 100644 --- a/adapter/ohos/ModuleInfo.java +++ b/adapter/ohos/ModuleInfo.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at diff --git a/adapter/ohos/Utility.java b/adapter/ohos/Utility.java index 1987c3d2..a530ec7c 100644 --- a/adapter/ohos/Utility.java +++ b/adapter/ohos/Utility.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021-2023 Huawei Device Co., Ltd. + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2023. 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. * You may obtain a copy of the License at -- Gitee From 173c6e3e8e2ebd95286ae2d20034ed3abd28e0b9 Mon Sep 17 00:00:00 2001 From: z30034863 Date: Wed, 26 Feb 2025 12:07:34 +0800 Subject: [PATCH 2/2] CleanCode Signed-off-by: z30034863 --- adapter/ohos/Compressor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapter/ohos/Compressor.java b/adapter/ohos/Compressor.java index a09d3729..6c6e44d7 100644 --- a/adapter/ohos/Compressor.java +++ b/adapter/ohos/Compressor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) Huawei Technologies Co., Ltd. 2021-2025. All rights reserved + * Copyright (c) Huawei Technologies Co., Ltd. 2021-2024. 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. * You may obtain a copy of the License at -- Gitee