From 103a7e58bb8a87470cd68e0967d78e32154a068c Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Tue, 17 Jun 2025 11:46:14 +0200 Subject: [PATCH] Apply consistent copyright headers in Kotlin source code See gh-35070 --- .../org/springframework/ui/ModelExtensions.kt | 2 +- .../springframework/ui/ModelMapExtensions.kt | 2 +- .../ui/ModelExtensionsTests.kt | 2 +- .../ui/ModelMapExtensionsTests.kt | 2 +- .../core/annotation/FilterWithAlias.kt | 28 +++++++++---------- .../core/annotation/FiltersWithoutAlias.kt | 28 +++++++++---------- .../MapSqlParameterSourceExtensions.kt | 2 +- .../core/DataClassRowMapperKotlinTests.kt | 2 +- .../core/JdbcOperationsExtensionsTests.kt | 2 +- .../MapSqlParameterSourceExtensionsTests.kt | 2 +- 10 files changed, 36 insertions(+), 36 deletions(-) diff --git a/spring-context/src/main/kotlin/org/springframework/ui/ModelExtensions.kt b/spring-context/src/main/kotlin/org/springframework/ui/ModelExtensions.kt index 1e2246c9c1..90d4b6a563 100644 --- a/spring-context/src/main/kotlin/org/springframework/ui/ModelExtensions.kt +++ b/spring-context/src/main/kotlin/org/springframework/ui/ModelExtensions.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-context/src/main/kotlin/org/springframework/ui/ModelMapExtensions.kt b/spring-context/src/main/kotlin/org/springframework/ui/ModelMapExtensions.kt index 97289c992e..826d98a3d8 100644 --- a/spring-context/src/main/kotlin/org/springframework/ui/ModelMapExtensions.kt +++ b/spring-context/src/main/kotlin/org/springframework/ui/ModelMapExtensions.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-context/src/test/kotlin/org/springframework/ui/ModelExtensionsTests.kt b/spring-context/src/test/kotlin/org/springframework/ui/ModelExtensionsTests.kt index 8e1752cae4..a4f49ad21e 100644 --- a/spring-context/src/test/kotlin/org/springframework/ui/ModelExtensionsTests.kt +++ b/spring-context/src/test/kotlin/org/springframework/ui/ModelExtensionsTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-context/src/test/kotlin/org/springframework/ui/ModelMapExtensionsTests.kt b/spring-context/src/test/kotlin/org/springframework/ui/ModelMapExtensionsTests.kt index f62ba8d91c..311e71127a 100644 --- a/spring-context/src/test/kotlin/org/springframework/ui/ModelMapExtensionsTests.kt +++ b/spring-context/src/test/kotlin/org/springframework/ui/ModelMapExtensionsTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-core/src/test/kotlin/org/springframework/core/annotation/FilterWithAlias.kt b/spring-core/src/test/kotlin/org/springframework/core/annotation/FilterWithAlias.kt index fc3eac3e52..34d279be6c 100644 --- a/spring-core/src/test/kotlin/org/springframework/core/annotation/FilterWithAlias.kt +++ b/spring-core/src/test/kotlin/org/springframework/core/annotation/FilterWithAlias.kt @@ -1,18 +1,18 @@ /* - * Copyright 2002-present the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://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. - */ + * Copyright 2002-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.springframework.core.annotation diff --git a/spring-core/src/test/kotlin/org/springframework/core/annotation/FiltersWithoutAlias.kt b/spring-core/src/test/kotlin/org/springframework/core/annotation/FiltersWithoutAlias.kt index 9ca5cb0e29..c9991c1ca2 100644 --- a/spring-core/src/test/kotlin/org/springframework/core/annotation/FiltersWithoutAlias.kt +++ b/spring-core/src/test/kotlin/org/springframework/core/annotation/FiltersWithoutAlias.kt @@ -1,18 +1,18 @@ /* - * Copyright 2002-present the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://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. - */ + * Copyright 2002-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.springframework.core.annotation diff --git a/spring-jdbc/src/main/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensions.kt b/spring-jdbc/src/main/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensions.kt index 6832d060f0..667377d72b 100644 --- a/spring-jdbc/src/main/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensions.kt +++ b/spring-jdbc/src/main/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensions.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/DataClassRowMapperKotlinTests.kt b/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/DataClassRowMapperKotlinTests.kt index 35c575970c..d65c1b69a7 100644 --- a/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/DataClassRowMapperKotlinTests.kt +++ b/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/DataClassRowMapperKotlinTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/JdbcOperationsExtensionsTests.kt b/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/JdbcOperationsExtensionsTests.kt index f51d8937d4..ae600a1c68 100644 --- a/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/JdbcOperationsExtensionsTests.kt +++ b/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/JdbcOperationsExtensionsTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensionsTests.kt b/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensionsTests.kt index 52ffda7682..de088b4bc3 100644 --- a/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensionsTests.kt +++ b/spring-jdbc/src/test/kotlin/org/springframework/jdbc/core/namedparam/MapSqlParameterSourceExtensionsTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors + * Copyright 2002-present the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.