From 2bf427246b19899f4061f2e3c70bcb5f5e2aaa5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=E4=B8=B6H?= Date: Wed, 6 Mar 2024 08:15:23 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=B4=E8=AE=B8?= =?UTF-8?q?=E5=8F=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Richard丶H --- .../hdi-gen/codegen/java_code_emitter.cpp | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/framework/tools/hdi-gen/codegen/java_code_emitter.cpp b/framework/tools/hdi-gen/codegen/java_code_emitter.cpp index 2f39d2be2..3b7e147d8 100644 --- a/framework/tools/hdi-gen/codegen/java_code_emitter.cpp +++ b/framework/tools/hdi-gen/codegen/java_code_emitter.cpp @@ -1,10 +1,17 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * - * HDF is dual licensed: you can use it either under the terms of - * the GPL, or the BSD license, at your option. - * See the LICENSE file in the root of this repository for complete details. - */ + #include "codegen/java_code_emitter.h" -- Gitee From 209fe441bc975824c3647f0c27f2528ca1009717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=E4=B8=B6H?= Date: Wed, 6 Mar 2024 08:44:43 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E8=AE=B8=E5=8F=AF=E5=A4=B4=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Richard丶H --- .../hdi-gen/codegen/java_code_emitter.cpp | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/framework/tools/hdi-gen/codegen/java_code_emitter.cpp b/framework/tools/hdi-gen/codegen/java_code_emitter.cpp index 3b7e147d8..03e8e7e83 100644 --- a/framework/tools/hdi-gen/codegen/java_code_emitter.cpp +++ b/framework/tools/hdi-gen/codegen/java_code_emitter.cpp @@ -1,17 +1,17 @@ - +/* + * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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. + */ #include "codegen/java_code_emitter.h" -- Gitee