From 47b5ac2f3bc08de98b3086c08a6f826ea197f005 Mon Sep 17 00:00:00 2001 From: Panferov Ivan Date: Thu, 12 Oct 2023 17:01:57 +0300 Subject: [PATCH] Fix license in linter/*.ets Signed-off-by: Panferov Ivan --- .../test_extended_features/$$_operation.ets | 26 +++++++++---------- .../test_extended_features/$$_operation1.ets | 26 +++++++++---------- .../test_extended_features/$_operation.ets | 26 +++++++++---------- .../UI_Decorators_@AnimatableExtend.ets | 26 +++++++++---------- .../UI_Decorators_@Builder.ets | 26 +++++++++---------- .../UI_Decorators_@BuilderParam.ets | 26 +++++++++---------- .../UI_Decorators_@Component.ets | 26 +++++++++---------- .../UI_Decorators_@Consume.ets | 26 +++++++++---------- .../UI_Decorators_@CustomDialog.ets | 26 +++++++++---------- .../UI_Decorators_@Entry.ets | 26 +++++++++---------- .../UI_Decorators_@Extend.ets | 26 +++++++++---------- .../UI_Decorators_@Link.ets | 26 +++++++++---------- .../UI_Decorators_@LocalStorageLink.ets | 26 +++++++++---------- .../UI_Decorators_@LocalStorageProp.ets | 26 +++++++++---------- .../UI_Decorators_@ObjectLink.ets | 26 +++++++++---------- .../UI_Decorators_@Observed.ets | 26 +++++++++---------- .../UI_Decorators_@Preview.ets | 26 +++++++++---------- .../UI_Decorators_@Prop.ets | 26 +++++++++---------- .../UI_Decorators_@Provide.ets | 26 +++++++++---------- .../UI_Decorators_@Reusable.ets | 26 +++++++++---------- .../UI_Decorators_@State.ets | 26 +++++++++---------- .../UI_Decorators_@StorageLink.ets | 26 +++++++++---------- .../UI_Decorators_@StorageProp.ets | 26 +++++++++---------- .../UI_Decorators_@Styles.ets | 26 +++++++++---------- .../UI_Decorators_@Watch.ets | 26 +++++++++---------- .../access_UI_methods_without_this_object.ets | 26 +++++++++---------- ...cess_UI_methods_without_this_object_FP.ets | 26 +++++++++---------- .../method_access_after_{}_scope.ets | 26 +++++++++---------- .../trailing_closure.ets | 26 +++++++++---------- 29 files changed, 377 insertions(+), 377 deletions(-) diff --git a/linter-4.2/test_extended_features/$$_operation.ets b/linter-4.2/test_extended_features/$$_operation.ets index a8d7ba16d..baa80eb31 100644 --- a/linter-4.2/test_extended_features/$$_operation.ets +++ b/linter-4.2/test_extended_features/$$_operation.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Entry @Component diff --git a/linter-4.2/test_extended_features/$$_operation1.ets b/linter-4.2/test_extended_features/$$_operation1.ets index 3a3ff8c77..ff91dd75d 100644 --- a/linter-4.2/test_extended_features/$$_operation1.ets +++ b/linter-4.2/test_extended_features/$$_operation1.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ class A { diff --git a/linter-4.2/test_extended_features/$_operation.ets b/linter-4.2/test_extended_features/$_operation.ets index 36967c5d3..3f167b4cc 100644 --- a/linter-4.2/test_extended_features/$_operation.ets +++ b/linter-4.2/test_extended_features/$_operation.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@AnimatableExtend.ets b/linter-4.2/test_extended_features/UI_Decorators_@AnimatableExtend.ets index 5cb4de76d..f15eaca9f 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@AnimatableExtend.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@AnimatableExtend.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @AnimatableExtend(Text) function animatableFontSize(size: number) { .fontSize(size) diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Builder.ets b/linter-4.2/test_extended_features/UI_Decorators_@Builder.ets index 3a3ab43cc..d963d4c73 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Builder.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Builder.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Component struct CreatedByBuilder { diff --git a/linter-4.2/test_extended_features/UI_Decorators_@BuilderParam.ets b/linter-4.2/test_extended_features/UI_Decorators_@BuilderParam.ets index 851708613..f5e30ad51 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@BuilderParam.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@BuilderParam.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Component.ets b/linter-4.2/test_extended_features/UI_Decorators_@Component.ets index 4068a86e9..1b8d13e87 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Component.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Component.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Consume.ets b/linter-4.2/test_extended_features/UI_Decorators_@Consume.ets index 8749d50fc..ddee101a8 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Consume.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Consume.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@CustomDialog.ets b/linter-4.2/test_extended_features/UI_Decorators_@CustomDialog.ets index c72272f21..efee00bf4 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@CustomDialog.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@CustomDialog.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @CustomDialog struct CustomDialogExample { diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Entry.ets b/linter-4.2/test_extended_features/UI_Decorators_@Entry.ets index b28ef06f4..fc24bd8c0 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Entry.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Entry.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Component struct HideComponent { diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Extend.ets b/linter-4.2/test_extended_features/UI_Decorators_@Extend.ets index f2cbfd5aa..c0ca53fc3 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Extend.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Extend.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Extend(Text) function makeMeClick(onClick: () => void) { .backgroundColor(Color.Blue) diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Link.ets b/linter-4.2/test_extended_features/UI_Decorators_@Link.ets index 46fb90fc8..7efe394a5 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Link.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Link.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ class GreenButtonState { width: number = 0; diff --git a/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageLink.ets b/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageLink.ets index 670d75368..6632652c6 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageLink.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageLink.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageProp.ets b/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageProp.ets index 1c4709415..0206d5400 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageProp.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@LocalStorageProp.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@ObjectLink.ets b/linter-4.2/test_extended_features/UI_Decorators_@ObjectLink.ets index 0010bde9c..f3be6e071 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@ObjectLink.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@ObjectLink.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Observed.ets b/linter-4.2/test_extended_features/UI_Decorators_@Observed.ets index 91aab4cbe..7801370e0 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Observed.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Observed.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Preview.ets b/linter-4.2/test_extended_features/UI_Decorators_@Preview.ets index eeb2359ca..3469f6368 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Preview.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Preview.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ import router from '@ohos.router'; import { StyleConstants } from '../common/constants/StyleConstants'; diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Prop.ets b/linter-4.2/test_extended_features/UI_Decorators_@Prop.ets index b8199f13f..8e84aa49e 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Prop.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Prop.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Component struct CountDownComponent { diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Provide.ets b/linter-4.2/test_extended_features/UI_Decorators_@Provide.ets index 8749d50fc..ddee101a8 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Provide.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Provide.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Reusable.ets b/linter-4.2/test_extended_features/UI_Decorators_@Reusable.ets index 2550aa67d..252e5953c 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Reusable.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Reusable.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Reusable @Component diff --git a/linter-4.2/test_extended_features/UI_Decorators_@State.ets b/linter-4.2/test_extended_features/UI_Decorators_@State.ets index cb71bf1c6..4060417be 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@State.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@State.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Entry @Component struct ComponentTest { diff --git a/linter-4.2/test_extended_features/UI_Decorators_@StorageLink.ets b/linter-4.2/test_extended_features/UI_Decorators_@StorageLink.ets index 755bfdba1..778c4aabe 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@StorageLink.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@StorageLink.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@StorageProp.ets b/linter-4.2/test_extended_features/UI_Decorators_@StorageProp.ets index 1c4709415..0206d5400 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@StorageProp.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@StorageProp.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Styles.ets b/linter-4.2/test_extended_features/UI_Decorators_@Styles.ets index 50590eee4..d3cd86e09 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Styles.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Styles.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ import prompt from '@ohos.prompt'; diff --git a/linter-4.2/test_extended_features/UI_Decorators_@Watch.ets b/linter-4.2/test_extended_features/UI_Decorators_@Watch.ets index 6d6baff7e..c305d08ad 100644 --- a/linter-4.2/test_extended_features/UI_Decorators_@Watch.ets +++ b/linter-4.2/test_extended_features/UI_Decorators_@Watch.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Entry @Component diff --git a/linter-4.2/test_extended_features/access_UI_methods_without_this_object.ets b/linter-4.2/test_extended_features/access_UI_methods_without_this_object.ets index 2f13eeb92..e3e747aed 100644 --- a/linter-4.2/test_extended_features/access_UI_methods_without_this_object.ets +++ b/linter-4.2/test_extended_features/access_UI_methods_without_this_object.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @AnimatableExtend(Text) function attribute(p: number) { diff --git a/linter-4.2/test_extended_features/access_UI_methods_without_this_object_FP.ets b/linter-4.2/test_extended_features/access_UI_methods_without_this_object_FP.ets index 855959557..65a45a8b6 100644 --- a/linter-4.2/test_extended_features/access_UI_methods_without_this_object_FP.ets +++ b/linter-4.2/test_extended_features/access_UI_methods_without_this_object_FP.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Entry @Component diff --git a/linter-4.2/test_extended_features/method_access_after_{}_scope.ets b/linter-4.2/test_extended_features/method_access_after_{}_scope.ets index 00c294e53..f87b6afcc 100644 --- a/linter-4.2/test_extended_features/method_access_after_{}_scope.ets +++ b/linter-4.2/test_extended_features/method_access_after_{}_scope.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ export {} diff --git a/linter-4.2/test_extended_features/trailing_closure.ets b/linter-4.2/test_extended_features/trailing_closure.ets index d2bdf13a6..ddd64a608 100644 --- a/linter-4.2/test_extended_features/trailing_closure.ets +++ b/linter-4.2/test_extended_features/trailing_closure.ets @@ -1,17 +1,17 @@ /* -* Copyright (c) 2022-2023 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 low 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. -*/ + * Copyright (c) 2023 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. + */ @Component struct CustomContainer { -- Gitee