diff --git a/.idea/copyright/java.xml b/.idea/copyright/default.xml similarity index 94% rename from .idea/copyright/java.xml rename to .idea/copyright/default.xml index 875c046581ca..51255366061d 100644 --- a/.idea/copyright/java.xml +++ b/.idea/copyright/default.xml @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/.idea/copyright/profiles_settings.xml b/.idea/copyright/profiles_settings.xml index d278876c98f1..49daa28f7d9f 100644 --- a/.idea/copyright/profiles_settings.xml +++ b/.idea/copyright/profiles_settings.xml @@ -1,7 +1,10 @@ - + + + + \ No newline at end of file diff --git a/.idea/scopes/build_gradle.xml b/.idea/scopes/build_gradle.xml new file mode 100644 index 000000000000..661c795d9a8b --- /dev/null +++ b/.idea/scopes/build_gradle.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/scopes/groovy.xml b/.idea/scopes/groovy.xml new file mode 100644 index 000000000000..e927918b3ae1 --- /dev/null +++ b/.idea/scopes/groovy.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/.idea/scopes/kotlin.xml b/.idea/scopes/kotlin.xml new file mode 100644 index 000000000000..dd81fdd2fe30 --- /dev/null +++ b/.idea/scopes/kotlin.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/buildSrc/SpringRepositorySupport.groovy b/buildSrc/SpringRepositorySupport.groovy index f9f8b5e3b2c1..b3f5e5dfd04b 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/config/checkstyle/checkstyle-header.txt b/buildSrc/config/checkstyle/checkstyle-header.txt new file mode 100644 index 000000000000..c3fe51bc24a6 --- /dev/null +++ b/buildSrc/config/checkstyle/checkstyle-header.txt @@ -0,0 +1,15 @@ +/* + * 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. + */ diff --git a/buildSrc/config/checkstyle/checkstyle.xml b/buildSrc/config/checkstyle/checkstyle.xml index 8abf498ddd16..ed8fc278864c 100644 --- a/buildSrc/config/checkstyle/checkstyle.xml +++ b/buildSrc/config/checkstyle/checkstyle.xml @@ -5,6 +5,7 @@ + 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 bb5d37505d91..968157501ded 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 5db9a73b07f0..ce0f1fbded45 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 54f186112963..47c630e290a2 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/SystemRequirementsExtension.java b/buildSrc/src/main/java/org/springframework/boot/build/SystemRequirementsExtension.java index 2fb63d7af1bd..d23f930673b0 100644 --- a/buildSrc/src/main/java/org/springframework/boot/build/SystemRequirementsExtension.java +++ b/buildSrc/src/main/java/org/springframework/boot/build/SystemRequirementsExtension.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/buildSrc/src/main/java/org/springframework/boot/build/antora/CheckJavadocMacros.java b/buildSrc/src/main/java/org/springframework/boot/build/antora/CheckJavadocMacros.java index 8c7cb35c981f..f5dc18891b7b 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 170fe6b69ee9..0c25bc5d8a23 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 2b2d8244ef6f..ffa7ca410e54 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 9073b63370c9..e690ed0dbf02 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 c896edd22c20..23930f8e3b6e 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 acb54de73b34..5372553897d2 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 925d7c877136..0ed0cb27635f 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/json-shade/java/org/springframework/boot/cli/json/JSON.java b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSON.java index 8c276d88d3b8..589f5ee22d42 100644 --- a/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSON.java +++ b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSON.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/json-shade/java/org/springframework/boot/cli/json/JSONArray.java b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONArray.java index 2185272dfa64..ddbf3d66700f 100644 --- a/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONArray.java +++ b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONArray.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/json-shade/java/org/springframework/boot/cli/json/JSONException.java b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONException.java index ebde92bce3d8..28831fc889c9 100644 --- a/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONException.java +++ b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/json-shade/java/org/springframework/boot/cli/json/JSONObject.java b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONObject.java index a68468d32a0d..0febfb60384c 100644 --- a/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONObject.java +++ b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/json-shade/java/org/springframework/boot/cli/json/JSONStringer.java b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONStringer.java index 3a9a8736a687..e2a50605bdd6 100644 --- a/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONStringer.java +++ b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONStringer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/json-shade/java/org/springframework/boot/cli/json/JSONTokener.java b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONTokener.java index a8d3dfefc37f..9e84d0a12f9c 100644 --- a/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONTokener.java +++ b/cli/spring-boot-cli/src/json-shade/java/org/springframework/boot/cli/json/JSONTokener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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 bda31459b4f7..28c361b042d8 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 ba169b4da815..cb9b2590ae1b 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 3877109c7e14..a6382f0c6310 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 56e62bfa9861..e3c5c35647ac 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 c5c893c4829d..4846b73e08ad 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 f273c49434a4..6951c5707a10 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 c50878b57a0a..1ce653738bd4 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 4d6b1decaa7e..795dfe90b537 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 578226ed5a7d..a0200131d162 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 d9394424ca7a..2780946c49aa 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 ede814588b63..9760397015d7 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 4d7105bca1e6..a1656baa0fd8 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 75685c56a58a..2c9293ddf51f 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 60a67bfc98f9..00eb564ad5ec 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 32640370e1a9..f17543247908 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 490320c38daa..7e6c533d2512 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 3479910984f3..60940e822370 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 9e449b6be90b..e2d5a2d4417d 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 56e62bfa9861..e3c5c35647ac 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 73a1b39c41e7..12cafa69c6cf 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 84dda76682a6..afb4910568b9 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -9,8 +9,6 @@ - - diff --git a/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/build.gradle b/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/build.gradle index 5d239c140ce4..af31a619c7d8 100644 --- a/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/build.gradle +++ b/configuration-metadata/spring-boot-configuration-metadata-changelog-generator/build.gradle @@ -1,5 +1,3 @@ -import groovy.xml.XmlSlurper - /* * Copyright 2012-present the original author or authors. * @@ -16,6 +14,10 @@ import groovy.xml.XmlSlurper * limitations under the License. */ +import groovy.xml.XmlSlurper + + + plugins { id "java" } diff --git a/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSON.java b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSON.java index 6e261670ea74..4377d9a429e2 100644 --- a/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSON.java +++ b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSON.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONArray.java b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONArray.java index d93e8e0ad012..af1558afb0eb 100644 --- a/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONArray.java +++ b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONArray.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONException.java b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONException.java index 3b557b2b135b..45469fa5e89c 100644 --- a/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONException.java +++ b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONObject.java b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONObject.java index f03bbe6cb8e1..5bb97020514b 100644 --- a/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONObject.java +++ b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONObject.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONStringer.java b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONStringer.java index 0f72049a1339..ee73c5ca9592 100644 --- a/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONStringer.java +++ b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONStringer.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONTokener.java b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONTokener.java index 632a7df1be8b..86cf190076d1 100644 --- a/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONTokener.java +++ b/configuration-metadata/spring-boot-configuration-metadata/src/json-shade/java/org/springframework/boot/configurationmetadata/json/JSONTokener.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-present the original author or authors. + * Copyright (C) 2010 The Android Open Source Project * * 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/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 a0c755956ce3..245d533dcbb1 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 a0c755956ce3..245d533dcbb1 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 79626065c977..090fa0af8db5 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 ef248d9f0289..8625fbabff77 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/grpc/client/HelloWorldGrpc.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/HelloWorldGrpc.kt index f4da5896b391..fc6f5e255968 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/HelloWorldGrpc.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/HelloWorldGrpc.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.grpc.client class HelloWorldGrpc { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/MyApplication.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/MyApplication.kt index 7b5c0a369f33..a11cb061b8e9 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/MyApplication.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/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.grpc.client import org.springframework.boot.autoconfigure.SpringBootApplication diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/channelcustomization/MyGrpcConfiguration.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/channelcustomization/MyGrpcConfiguration.kt index 36c019233b42..53731e3e7fdc 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/channelcustomization/MyGrpcConfiguration.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/channelcustomization/MyGrpcConfiguration.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.grpc.client.channelcustomization import io.grpc.ManagedChannelBuilder diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloReply.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloReply.kt index b9e136cb17c1..5daa008e8266 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloReply.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloReply.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.grpc.client.stubbeans interface HelloReply { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloRequest.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloRequest.kt index 70c921637bc5..cdec74df8657 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloRequest.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloRequest.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.grpc.client.stubbeans interface HelloRequest { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloWorldGrpc.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloWorldGrpc.kt index 2bb2103ab8d6..418e33edacef 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloWorldGrpc.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/HelloWorldGrpc.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.grpc.client.stubbeans class HelloWorldGrpc { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/MyApplicationRunner.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/MyApplicationRunner.kt index f441809cdc4c..ee9b56bc7861 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/MyApplicationRunner.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/client/stubbeans/MyApplicationRunner.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.grpc.client.stubbeans import org.springframework.boot.ApplicationArguments diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloReply.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloReply.kt index 6ea3efc39c0a..713617e83643 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloReply.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloReply.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.grpc.server interface HelloReply { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloRequest.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloRequest.kt index 2fedd32fa64a..f375f1cc2795 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloRequest.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloRequest.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.grpc.server interface HelloRequest { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloWorldGrpc.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloWorldGrpc.kt index 858880344fea..c5e00a7e2cbc 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloWorldGrpc.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/HelloWorldGrpc.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.grpc.server import io.grpc.stub.StreamObserver diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/MyHelloWorldService.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/MyHelloWorldService.kt index 5a6d57d41a43..09fcf742d848 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/MyHelloWorldService.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/MyHelloWorldService.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.grpc.server import io.grpc.stub.StreamObserver diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/security/servlet/MySecurityConfiguration.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/security/servlet/MySecurityConfiguration.kt index d8af99d1b9b9..6e9050a9631d 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/security/servlet/MySecurityConfiguration.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/server/security/servlet/MySecurityConfiguration.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.grpc.server.security.servlet import org.springframework.boot.grpc.server.autoconfigure.security.web.servlet.GrpcRequest diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloReply.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloReply.kt index fc4df9a7d982..4bdb55cc9dee 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloReply.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloReply.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.grpc.testing.localserverport interface HelloReply { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloRequest.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloRequest.kt index 0dec210254a9..66ae80b7be6f 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloRequest.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloRequest.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.grpc.testing.localserverport interface HelloRequest { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloWorldGrpc.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloWorldGrpc.kt index d19c4cadf936..9ebe8b2e968a 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloWorldGrpc.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/HelloWorldGrpc.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.grpc.testing.localserverport import io.grpc.ManagedChannel diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/MyGrpcIntegrationTests.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/MyGrpcIntegrationTests.kt index f53cbaccdb26..40bb191318d1 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/MyGrpcIntegrationTests.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/localserverport/MyGrpcIntegrationTests.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.grpc.testing.localserverport import io.grpc.ManagedChannel diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloReply.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloReply.kt index 44a56925ac57..6e0805034640 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloReply.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloReply.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.grpc.testing.testtransport interface HelloReply { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloRequest.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloRequest.kt index 718318c7c95d..d936dc2b87e8 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloRequest.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloRequest.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.grpc.testing.testtransport interface HelloRequest { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloWorldGrpc.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloWorldGrpc.kt index 24fe86509b14..e0836ca4b80a 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloWorldGrpc.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/HelloWorldGrpc.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.grpc.testing.testtransport import io.grpc.ManagedChannel diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/MyGrpcTests.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/MyGrpcTests.kt index 3a89499cc618..3f503d8fb5e6 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/MyGrpcTests.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/grpc/testing/testtransport/MyGrpcTests.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.grpc.testing.testtransport import org.assertj.core.api.Assertions.assertThat diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/Details.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/Details.kt index da14b832eec7..b88dc4cd459c 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/Details.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/Details.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.globalconfiguration.inetaddressfiltering class Details { diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyHttpClientConfiguration.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyHttpClientConfiguration.kt index b6aaa99cfe74..cde0e9fe5506 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyHttpClientConfiguration.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyHttpClientConfiguration.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.globalconfiguration.inetaddressfiltering import org.springframework.boot.http.client.InetAddressFilter diff --git a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyService.kt b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyService.kt index 6895f32dac34..13cc6ec70eef 100644 --- a/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyService.kt +++ b/documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io/restclient/globalconfiguration/inetaddressfiltering/MyService.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.globalconfiguration.inetaddressfiltering import org.springframework.boot.http.client.ClientHttpRequestFactoryBuilder 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 635d3394ac14..312916c5fe0f 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 031a73db46b5..019e3366dba8 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 f1ca720fd7d2..10d366e723c4 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 4b06102c0717..678f3ec42b35 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 84efa765e495..c252a382e554 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 483320fbaf53..df4baebc6ead 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 *