diff --git a/buildSrc/SpringRepositorySupport.groovy b/buildSrc/SpringRepositorySupport.groovy index f9f8b5e3b2c..b3f5e5dfd04 100644 --- a/buildSrc/SpringRepositorySupport.groovy +++ b/buildSrc/SpringRepositorySupport.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeJdtSettings.java b/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeJdtSettings.java index bb5d37505d9..968157501de 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeJdtSettings.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeJdtSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeResourceSettings.java b/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeResourceSettings.java index 5db9a73b07f..ce0f1fbded4 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeResourceSettings.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/EclipseSynchronizeResourceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/EmptyPropertiesPersistableConfigurationObject.java b/buildSrc/src/main/java/org/springframework/boot/build/EmptyPropertiesPersistableConfigurationObject.java index 54f18611296..47c630e290a 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/EmptyPropertiesPersistableConfigurationObject.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/EmptyPropertiesPersistableConfigurationObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/antora/CheckJavadocMacros.java b/buildSrc/src/main/java/org/springframework/boot/build/antora/CheckJavadocMacros.java index 8c7cb35c981..f5dc18891b7 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/antora/CheckJavadocMacros.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/antora/CheckJavadocMacros.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationClass.java b/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationClass.java index 170fe6b69ee..0c25bc5d8a2 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationClass.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2025-present the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationImportsTask.java b/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationImportsTask.java index 2b2d8244ef6..ffa7ca410e5 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationImportsTask.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationImportsTask.java @@ -1,5 +1,5 @@ /* - * Copyright 2025-present the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/CheckAutoConfigurationImports.java b/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/CheckAutoConfigurationImports.java index 9073b63370c..e690ed0dbf0 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/CheckAutoConfigurationImports.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/CheckAutoConfigurationImports.java @@ -1,5 +1,5 @@ /* - * Copyright 2025-present the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAggregatedSpringConfigurationMetadata.java b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAggregatedSpringConfigurationMetadata.java index c896edd22c2..23930f8e3b6 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAggregatedSpringConfigurationMetadata.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/context/properties/CheckAggregatedSpringConfigurationMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2025 the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/test/autoconfigure/CheckAutoConfigureImports.java b/buildSrc/src/main/java/org/springframework/boot/build/test/autoconfigure/CheckAutoConfigureImports.java index acb54de73b3..5372553897d 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/test/autoconfigure/CheckAutoConfigureImports.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/test/autoconfigure/CheckAutoConfigureImports.java @@ -1,5 +1,5 @@ /* - * Copyright 2025-present the original author or authors. + * Copyright 2012-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/buildSrc/src/main/java/org/springframework/boot/build/xml/XmlDocument.java b/buildSrc/src/main/java/org/springframework/boot/build/xml/XmlDocument.java index 925d7c87713..0ed0cb27635 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/xml/XmlDocument.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/xml/XmlDocument.java @@ -1,5 +1,5 @@ /* - * Copyright 2026 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/classloader-test-app.groovy b/cli/spring-boot-cli/src/test/resources/classloader-test-app.groovy index bda31459b4f..28c361b042d 100644 --- a/cli/spring-boot-cli/src/test/resources/classloader-test-app.groovy +++ b/cli/spring-boot-cli/src/test/resources/classloader-test-app.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + import org.springframework.util.* @Component diff --git a/cli/spring-boot-cli/src/test/resources/commands/closure.groovy b/cli/spring-boot-cli/src/test/resources/commands/closure.groovy index ba169b4da81..cb9b2590ae1 100644 --- a/cli/spring-boot-cli/src/test/resources/commands/closure.groovy +++ b/cli/spring-boot-cli/src/test/resources/commands/closure.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/commands/command.groovy b/cli/spring-boot-cli/src/test/resources/commands/command.groovy index 3877109c7e1..a6382f0c631 100644 --- a/cli/spring-boot-cli/src/test/resources/commands/command.groovy +++ b/cli/spring-boot-cli/src/test/resources/commands/command.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/commands/handler.groovy b/cli/spring-boot-cli/src/test/resources/commands/handler.groovy index 56e62bfa986..e3c5c35647a 100644 --- a/cli/spring-boot-cli/src/test/resources/commands/handler.groovy +++ b/cli/spring-boot-cli/src/test/resources/commands/handler.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/commands/options.groovy b/cli/spring-boot-cli/src/test/resources/commands/options.groovy index c5c893c4829..4846b73e08a 100644 --- a/cli/spring-boot-cli/src/test/resources/commands/options.groovy +++ b/cli/spring-boot-cli/src/test/resources/commands/options.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/dir-sample/code/app.groovy b/cli/spring-boot-cli/src/test/resources/dir-sample/code/app.groovy index f273c49434a..6951c5707a1 100644 --- a/cli/spring-boot-cli/src/test/resources/dir-sample/code/app.groovy +++ b/cli/spring-boot-cli/src/test/resources/dir-sample/code/app.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.test @Component diff --git a/cli/spring-boot-cli/src/test/resources/grab-samples/customDependencyManagement.groovy b/cli/spring-boot-cli/src/test/resources/grab-samples/customDependencyManagement.groovy index c50878b57a0..1ce653738bd 100644 --- a/cli/spring-boot-cli/src/test/resources/grab-samples/customDependencyManagement.groovy +++ b/cli/spring-boot-cli/src/test/resources/grab-samples/customDependencyManagement.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + @DependencyManagementBom('test:child:1.0.0') @Grab('ejb-api') class CustomDependencyManagement { diff --git a/cli/spring-boot-cli/src/test/resources/grab-samples/duplicateDependencyManagementBom.groovy b/cli/spring-boot-cli/src/test/resources/grab-samples/duplicateDependencyManagementBom.groovy index 4d6b1decaa7..795dfe90b53 100644 --- a/cli/spring-boot-cli/src/test/resources/grab-samples/duplicateDependencyManagementBom.groovy +++ b/cli/spring-boot-cli/src/test/resources/grab-samples/duplicateDependencyManagementBom.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + @DependencyManagementBom("foo:bar:1.0") @DependencyManagementBom("alpha:bravo:2.0") class DuplicateDependencyManagement { diff --git a/cli/spring-boot-cli/src/test/resources/grab-samples/grab.groovy b/cli/spring-boot-cli/src/test/resources/grab-samples/grab.groovy index 578226ed5a7..a0200131d16 100644 --- a/cli/spring-boot-cli/src/test/resources/grab-samples/grab.groovy +++ b/cli/spring-boot-cli/src/test/resources/grab-samples/grab.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + @Grab('jackson-core') class GrabTest { diff --git a/cli/spring-boot-cli/src/test/resources/grab.groovy b/cli/spring-boot-cli/src/test/resources/grab.groovy index d9394424ca7..2780946c49a 100644 --- a/cli/spring-boot-cli/src/test/resources/grab.groovy +++ b/cli/spring-boot-cli/src/test/resources/grab.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + @GrabResolver(name="test", root="file:./src/test/plugins") @Grab("custom:custom:0.0.1") @Controller diff --git a/cli/spring-boot-cli/src/test/resources/init.groovy b/cli/spring-boot-cli/src/test/resources/init.groovy index ede814588b6..9760397015d 100644 --- a/cli/spring-boot-cli/src/test/resources/init.groovy +++ b/cli/spring-boot-cli/src/test/resources/init.groovy @@ -1 +1,17 @@ +/* + * Copyright 2012-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. + */ + println "Hello Init" \ No newline at end of file diff --git a/cli/spring-boot-cli/src/test/resources/repro-samples/data-jpa.groovy b/cli/spring-boot-cli/src/test/resources/repro-samples/data-jpa.groovy index 4d7105bca1e..a1656baa0fd 100644 --- a/cli/spring-boot-cli/src/test/resources/repro-samples/data-jpa.groovy +++ b/cli/spring-boot-cli/src/test/resources/repro-samples/data-jpa.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + @Grab('spring-boot-starter-data-jpa') @Grab('h2') class Sample implements CommandLineRunner { diff --git a/cli/spring-boot-cli/src/test/resources/repro-samples/grab-ant-builder.groovy b/cli/spring-boot-cli/src/test/resources/repro-samples/grab-ant-builder.groovy index 75685c56a58..2c9293ddf51 100644 --- a/cli/spring-boot-cli/src/test/resources/repro-samples/grab-ant-builder.groovy +++ b/cli/spring-boot-cli/src/test/resources/repro-samples/grab-ant-builder.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + @Grab("org.apache.groovy:groovy-ant:4.0.1") import groovy.ant.AntBuilder diff --git a/cli/spring-boot-cli/src/test/resources/repro-samples/secure.groovy b/cli/spring-boot-cli/src/test/resources/repro-samples/secure.groovy index 60a67bfc98f..00eb564ad5e 100644 --- a/cli/spring-boot-cli/src/test/resources/repro-samples/secure.groovy +++ b/cli/spring-boot-cli/src/test/resources/repro-samples/secure.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.test // No security features added just a test that the dependencies are resolved diff --git a/cli/spring-boot-cli/src/test/resources/run-command/quiet.groovy b/cli/spring-boot-cli/src/test/resources/run-command/quiet.groovy index 32640370e1a..f1754324790 100644 --- a/cli/spring-boot-cli/src/test/resources/run-command/quiet.groovy +++ b/cli/spring-boot-cli/src/test/resources/run-command/quiet.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.test @Component diff --git a/cli/spring-boot-cli/src/test/resources/scripts/closure.groovy b/cli/spring-boot-cli/src/test/resources/scripts/closure.groovy index 490320c38da..7e6c533d251 100644 --- a/cli/spring-boot-cli/src/test/resources/scripts/closure.groovy +++ b/cli/spring-boot-cli/src/test/resources/scripts/closure.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/scripts/command.groovy b/cli/spring-boot-cli/src/test/resources/scripts/command.groovy index 3479910984f..60940e82237 100644 --- a/cli/spring-boot-cli/src/test/resources/scripts/command.groovy +++ b/cli/spring-boot-cli/src/test/resources/scripts/command.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/scripts/commands.groovy b/cli/spring-boot-cli/src/test/resources/scripts/commands.groovy index 9e449b6be90..e2d5a2d4417 100644 --- a/cli/spring-boot-cli/src/test/resources/scripts/commands.groovy +++ b/cli/spring-boot-cli/src/test/resources/scripts/commands.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/scripts/handler.groovy b/cli/spring-boot-cli/src/test/resources/scripts/handler.groovy index 56e62bfa986..e3c5c35647a 100644 --- a/cli/spring-boot-cli/src/test/resources/scripts/handler.groovy +++ b/cli/spring-boot-cli/src/test/resources/scripts/handler.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/cli/spring-boot-cli/src/test/resources/scripts/options.groovy b/cli/spring-boot-cli/src/test/resources/scripts/options.groovy index 73a1b39c41e..12cafa69c6c 100644 --- a/cli/spring-boot-cli/src/test/resources/scripts/options.groovy +++ b/cli/spring-boot-cli/src/test/resources/scripts/options.groovy @@ -1,5 +1,5 @@ /* - * Copyright 2012-2013 the original author or authors. + * Copyright 2012-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/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 84dda76682a..afb4910568b 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -9,8 +9,6 @@ - - diff --git a/core/spring-boot-test/src/test/resources/org/springframework/boot/test/SpringApplicationConfigurationGroovyConventionConfigurationTestsContext.groovy b/core/spring-boot-test/src/test/resources/org/springframework/boot/test/SpringApplicationConfigurationGroovyConventionConfigurationTestsContext.groovy index a0c755956ce..245d533dcbb 100644 --- a/core/spring-boot-test/src/test/resources/org/springframework/boot/test/SpringApplicationConfigurationGroovyConventionConfigurationTestsContext.groovy +++ b/core/spring-boot-test/src/test/resources/org/springframework/boot/test/SpringApplicationConfigurationGroovyConventionConfigurationTestsContext.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + beans { foo String, "World" } diff --git a/core/spring-boot-test/src/test/resources/org/springframework/boot/test/context/SpringBootTestGroovyConventionConfigurationTestsContext.groovy b/core/spring-boot-test/src/test/resources/org/springframework/boot/test/context/SpringBootTestGroovyConventionConfigurationTestsContext.groovy index a0c755956ce..245d533dcbb 100644 --- a/core/spring-boot-test/src/test/resources/org/springframework/boot/test/context/SpringBootTestGroovyConventionConfigurationTestsContext.groovy +++ b/core/spring-boot-test/src/test/resources/org/springframework/boot/test/context/SpringBootTestGroovyConventionConfigurationTestsContext.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + beans { foo String, "World" } diff --git a/core/spring-boot-test/src/test/resources/test.groovy b/core/spring-boot-test/src/test/resources/test.groovy index 79626065c97..090fa0af8db 100644 --- a/core/spring-boot-test/src/test/resources/test.groovy +++ b/core/spring-boot-test/src/test/resources/test.groovy @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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. + */ + beans { foo String, "World" } \ No newline at end of file diff --git a/core/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt b/core/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt index ef248d9f028..8625fbabff7 100644 --- a/core/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt +++ b/core/spring-boot/src/test/kotlin/org/springframework/boot/SpringApplicationExtensionsTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2002-present the original author or authors. + * Copyright 2012-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/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/MyApplication.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/MyApplication.kt index 635d3394ac1..312916c5fe0 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/MyApplication.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/MyApplication.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.boot.docs.io.restclient.httpservice.groups import org.springframework.boot.autoconfigure.SpringBootApplication diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/MyApplication.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/MyApplication.kt index 031a73db46b..019e3366dba 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/MyApplication.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/MyApplication.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.boot.docs.io.restclient.httpservice.groups.repeat import org.springframework.boot.autoconfigure.SpringBootApplication diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/OtherService.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/OtherService.kt index f1ca720fd7d..10d366e723c 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/OtherService.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/groups/repeat/OtherService.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.boot.docs.io.restclient.httpservice.groups.repeat import org.springframework.web.bind.annotation.RequestBody diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/importing/MyApplication.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/importing/MyApplication.kt index 4b06102c071..678f3ec42b3 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/importing/MyApplication.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/httpservice/importing/MyApplication.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.boot.docs.io.restclient.httpservice.importing import org.springframework.boot.autoconfigure.SpringBootApplication diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/security/saml2/relyingparty/MySamlRelyingPartyConfiguration.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/security/saml2/relyingparty/MySamlRelyingPartyConfiguration.kt index 84efa765e49..c252a382e55 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/security/saml2/relyingparty/MySamlRelyingPartyConfiguration.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/security/saml2/relyingparty/MySamlRelyingPartyConfiguration.kt @@ -1,3 +1,19 @@ +/* + * Copyright 2012-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.boot.docs.web.security.saml2.relyingparty import org.springframework.context.annotation.Bean diff --git a/module/spring-boot-kotlinx-serialization-json/src/test/kotlin/org/springframework/boot/kotlinx/serialization/json/autoconfigure/KotlinxSerializationJsonAutoConfigurationTests.kt b/module/spring-boot-kotlinx-serialization-json/src/test/kotlin/org/springframework/boot/kotlinx/serialization/json/autoconfigure/KotlinxSerializationJsonAutoConfigurationTests.kt index 483320fbaf5..df4baebc6ea 100644 --- a/module/spring-boot-kotlinx-serialization-json/src/test/kotlin/org/springframework/boot/kotlinx/serialization/json/autoconfigure/KotlinxSerializationJsonAutoConfigurationTests.kt +++ b/module/spring-boot-kotlinx-serialization-json/src/test/kotlin/org/springframework/boot/kotlinx/serialization/json/autoconfigure/KotlinxSerializationJsonAutoConfigurationTests.kt @@ -1,7 +1,7 @@ /* * Copyright 2012-present the original author or authors. * - * Licensed under the Apache License, Version 2.0 (the "License") + * 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 *