diff --git a/linter-4.2/test_extended_features/$$_operation.ets b/linter-4.2/test_extended_features/$$_operation.ets index a8d7ba16d91de330a359bcb8133b7bde784f5aaf..baa80eb31124d62dc20ea94b2939b46cbf87fff4 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 3a3ff8c77624646aaae217676d70fcab4da1cd04..ff91dd75d475f2393874e6eb78559976c2bc9f51 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 36967c5d3c8f2c5dbec82cc175927d8caf3fd23a..3f167b4ccb133f5c1f448ba2f97d0402320a9ac7 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 5cb4de76dfbc111a6e38c485f272a1480ccaddd1..f15eaca9f95796224a72327180d02e6ba5d054cb 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 3a3ab43cc7497efef0b867d9d13e51ecc99dd341..d963d4c73f3c5cc3c74aa00d8f3cfb6c9421cc44 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 851708613d2941356ca03af4f93038d9ff252bfa..f5e30ad516cb05fa14f952b59ba72962bb354493 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 4068a86e940df80141e25adf992f265753e081e6..1b8d13e8723f49286f487fa04b031d8a69b9eac7 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 8749d50fc0a3c79337d45b4b951c575e835366a0..ddee101a85c2bea43aeefa41a1932fb24d2159f0 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 c72272f21a77177ef5c2528538cd6d54b60f5f11..efee00bf4066ff522b8b510069a3411d8144dff5 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 b28ef06f48d5b187cc9dce0233c5f92ffcca4781..fc24bd8c0acc8c6c2592db017004d9069e34bb0f 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 f2cbfd5aa7253f80cd7df7377d8811fadba3351f..c0ca53fc3e3c740e12d57d2988b9078d25e6ad1f 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 46fb90fc8dab974e6582bceb786059395c286494..7efe394a51e4fd4f80e0379d24562bba5496ea9e 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 670d75368064941edb344bd681463d0d018c406d..6632652c6d999200d8d719aaad504b427141dfd8 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 1c47094150170a92708408534cbee4743816a495..0206d5400482ffe2791063e9cab1cf8f180c5ad2 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 0010bde9c87c8ecddf1debb276100441263c3329..f3be6e071a52d8b0d8c3fea7049135a05097431b 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 91aab4cbe7a65e9d7ee97a1c43ff25217b812bfd..7801370e0fad1f7f1276749b654a4191e1497823 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 eeb2359caaf4fb2c813aec4892c3e394251fe7b6..3469f6368b7d38b579362f920e1961ea90538528 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 b8199f13f89b61779cde0c4244b54216a1ba52a3..8e84aa49e8f71cac8e580b1f27f81a68ca407478 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 8749d50fc0a3c79337d45b4b951c575e835366a0..ddee101a85c2bea43aeefa41a1932fb24d2159f0 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 2550aa67d480e80aaacfbc5d2e7270bf0c24bd06..252e5953c72f75000653e8883b6bf2aada863f17 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 cb71bf1c6cf515bcca77961e6159607c51f18c3b..4060417be4490a751952c14bbb2f1b3db8f69297 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 755bfdba1d81fbc0f80427e68098e9fd4084bfa5..778c4aabe7ea2d4efe530e30902d0a456c8d5ee5 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 1c47094150170a92708408534cbee4743816a495..0206d5400482ffe2791063e9cab1cf8f180c5ad2 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 50590eee4c83a0bdf679b56ca031d297f6497d10..d3cd86e099843794991497f107201c516c484506 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 6d6baff7ee0ea4b074a1c256886747f47bc7c47e..c305d08adea425fc7559250aea7399a3a5149d0c 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 2f13eeb92be59d34c76379ffaeaf6778e2ebfac0..e3e747aedf5ebfe9aca29dec4739670533096c20 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 8559595571b03b138bb7418949cd744da1db8fc1..65a45a8b656e4ac796a104c31ef7d157e3064304 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 00c294e533c312544863b87dc3b85a43fda15739..f87b6afcc137fe8f08bac196744f170ef5a03b1c 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 d2bdf13a64b9058ee93875b7596de8ba570284ab..ddd64a6081de9a03382260e563c44513e7ce6e63 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 {