diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 261eeb9e9..000000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..bbf66de1e --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,87 @@ +# Moderne Source Available License + +## Acceptance + +This Agreement sets forth the terms and conditions on which the Licensor makes the Software available. By installing, downloading, accessing, using, or distributing any part of the Software, you agree to all of the terms and conditions of this agreement. + +If you are receiving the Software on behalf of your company, you represent and warrant that you have the authority to agree to this agreement on behalf of such entity. + +The Licensor reserves the right to update this agreement from time to time. + +## Definitions + +**Agreement**: This Moderne Source Available License agreement. + +**Control**: Ownership, directly or indirectly, of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. + +**License**: The license as described in the License paragraph below. + +**Licensor**: The entity offering these terms, including Moderne, Inc., on behalf of itself and its subsidiaries and affiliates worldwide. + +**Modify**/**Modified**/**Modification**: Copying or adapting all or part of the work in a way that requires copyright permission, other than making an exact copy. The resulting work is called a _modified version_ of the original work. + +**Moderne**: The Moderne software as described in [moderne.ai](https://www.moderne.ai/). + +**Software**: Specific software components designed to work with Moderne and provided under this agreement. + +**Trademark**: Trademarks, service marks, and any other similar rights associated with the Licensor. + +**Use**: Any activity you perform with the Software that requires a license under this agreement. + +**You**: The recipient of the Software, whether an individual or an entity, on whose behalf this agreement is accepted. + +**Your Company**: Any legal entity, sole proprietorship, or organization that you work for, including all organizations that control, are controlled by, or are under common control with that organization. + +**Your Licenses**: All licenses granted to you for the Software under this agreement. + +## License + +The Licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the Software, subject to the limitations and conditions below. + +## Limitations + +**You may not:** + +1. Make the functionality of the Software or a modified version available to third parties as a service. + +2. Distribute the Software or a modified version in a manner that makes its functionality available to third parties. + +**Prohibited actions include (but are not limited to):** + +* Enabling third parties to interact with the functionality of the Software or a modified version in distributed form or remotely through a computer network. + +* Offering products or services whose value derives from the Software or a modified version. + +* Providing a product or service that performs the functions of the Software or a modified version. + +You may not alter, remove, or obscure any licensing, copyright, or other notices provided by the Licensor. Any use of the Licensor’s trademarks is subject to applicable law. + +## Patents + +The Licensor grants you a license under any patent claims the Licensor owns or can license, to make, use, sell, offer for sale, import, and distribute the Software, subject to the limitations and conditions in this agreement. + +This license does not cover patent claims caused by your modifications or additions to the Software. + +If you or your company make any written claim that the Software infringes or contributes to the infringement of any patent, your patent license under this agreement terminates immediately. + +## Notices + +You must ensure that anyone who receives a copy of any part of the Software from you also receives a copy of this agreement. + +If you modify the Software, you must include prominent notices in any modified copies stating that you have modified the Software. + +## No Other Rights + +This agreement does not imply any licenses beyond those expressly granted. + +## Termination + +If you use the Software in violation of this agreement, such use is unlicensed, and your licenses will terminate automatically. + +If the Licensor notifies you of a violation and you cease all violations within 30 days, your licenses will be reinstated retroactively. + +However, subsequent violations will result in automatic and permanent termination of your licenses. + +## No Liability + +To the extent permitted by law, the Software is provided "as is," without warranties or conditions of any kind. The Licensor is not liable for any damages arising from this agreement or your use of the Software. diff --git a/README.md b/README.md index bebc79541..58d0463ff 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ### Eliminate legacy Spring patterns. Automatically. [![ci](https://github.com/openrewrite/rewrite-spring/actions/workflows/ci.yml/badge.svg)](https://github.com/openrewrite/rewrite-spring/actions/workflows/ci.yml) -[![Apache 2.0](https://img.shields.io/github/license/openrewrite/rewrite-spring.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Maven Central](https://img.shields.io/maven-central/v/org.openrewrite.recipe/rewrite-spring.svg)](https://mvnrepository.com/artifact/org.openrewrite.recipe/rewrite-spring) [![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.openrewrite.org/scans) [![Contributing Guide](https://img.shields.io/badge/Contributing-Guide-informational)](https://github.com/openrewrite/.github/blob/main/CONTRIBUTING.md) diff --git a/gradle/licenseHeader.txt b/gradle/licenseHeader.txt index 3c7a45430..43819ad42 100644 --- a/gradle/licenseHeader.txt +++ b/gradle/licenseHeader.txt @@ -1,13 +1,13 @@ Copyright ${year} the original author or authors.
-Licensed under the Apache License, Version 2.0 (the "License"); +Licensed under the Moderne Source Available License (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 +https://docs.moderne.io/licensing/moderne-source-available-license
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. +limitations under the License. \ No newline at end of file diff --git a/src/main/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPlugin.java b/src/main/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPlugin.java index ff5d4d78b..7039aa023 100644 --- a/src/main/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPlugin.java +++ b/src/main/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPlugin.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/gradle/spring/package-info.java b/src/main/java/org/openrewrite/gradle/spring/package-info.java index fccfa67dd..84cacc007 100644 --- a/src/main/java/org/openrewrite/gradle/spring/package-info.java +++ b/src/main/java/org/openrewrite/gradle/spring/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/AddSpringProperty.java b/src/main/java/org/openrewrite/java/spring/AddSpringProperty.java index bd54ff0fc..06c2ad691 100644 --- a/src/main/java/org/openrewrite/java/spring/AddSpringProperty.java +++ b/src/main/java/org/openrewrite/java/spring/AddSpringProperty.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/AutowiredFieldIntoConstructorParameterVisitor.java b/src/main/java/org/openrewrite/java/spring/AutowiredFieldIntoConstructorParameterVisitor.java index 6514ed869..2ce42925e 100644 --- a/src/main/java/org/openrewrite/java/spring/AutowiredFieldIntoConstructorParameterVisitor.java +++ b/src/main/java/org/openrewrite/java/spring/AutowiredFieldIntoConstructorParameterVisitor.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/ChangeMethodParameter.java b/src/main/java/org/openrewrite/java/spring/ChangeMethodParameter.java index b1cfdac56..00430eca4 100644 --- a/src/main/java/org/openrewrite/java/spring/ChangeMethodParameter.java +++ b/src/main/java/org/openrewrite/java/spring/ChangeMethodParameter.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyKey.java b/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyKey.java index 12cfc5e30..25d8a8ff4 100644 --- a/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyKey.java +++ b/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyKey.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyValue.java b/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyValue.java index ac145f857..1042b2920 100644 --- a/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyValue.java +++ b/src/main/java/org/openrewrite/java/spring/ChangeSpringPropertyValue.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java b/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java index 315f36fcf..56b103adf 100644 --- a/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java +++ b/src/main/java/org/openrewrite/java/spring/CommentOutSpringPropertyKey.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/DeleteSpringProperty.java b/src/main/java/org/openrewrite/java/spring/DeleteSpringProperty.java index e5a9c2ed9..dd2365587 100644 --- a/src/main/java/org/openrewrite/java/spring/DeleteSpringProperty.java +++ b/src/main/java/org/openrewrite/java/spring/DeleteSpringProperty.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/ExpandProperties.java b/src/main/java/org/openrewrite/java/spring/ExpandProperties.java index c77ad2e71..39e7af84d 100644 --- a/src/main/java/org/openrewrite/java/spring/ExpandProperties.java +++ b/src/main/java/org/openrewrite/java/spring/ExpandProperties.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/ImplicitWebAnnotationNames.java b/src/main/java/org/openrewrite/java/spring/ImplicitWebAnnotationNames.java index c1d20d2ad..d1792fc04 100644 --- a/src/main/java/org/openrewrite/java/spring/ImplicitWebAnnotationNames.java +++ b/src/main/java/org/openrewrite/java/spring/ImplicitWebAnnotationNames.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/NoAutowiredOnConstructor.java b/src/main/java/org/openrewrite/java/spring/NoAutowiredOnConstructor.java index 24a8bf6f9..6f0309d74 100644 --- a/src/main/java/org/openrewrite/java/spring/NoAutowiredOnConstructor.java +++ b/src/main/java/org/openrewrite/java/spring/NoAutowiredOnConstructor.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/NoRepoAnnotationOnRepoInterface.java b/src/main/java/org/openrewrite/java/spring/NoRepoAnnotationOnRepoInterface.java index 7a3534a86..bc48e655e 100644 --- a/src/main/java/org/openrewrite/java/spring/NoRepoAnnotationOnRepoInterface.java +++ b/src/main/java/org/openrewrite/java/spring/NoRepoAnnotationOnRepoInterface.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/NoRequestMappingAnnotation.java b/src/main/java/org/openrewrite/java/spring/NoRequestMappingAnnotation.java index fba586c0a..d3e1a415e 100644 --- a/src/main/java/org/openrewrite/java/spring/NoRequestMappingAnnotation.java +++ b/src/main/java/org/openrewrite/java/spring/NoRequestMappingAnnotation.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/PropertiesToKebabCase.java b/src/main/java/org/openrewrite/java/spring/PropertiesToKebabCase.java index ebc36447a..4df2d66a8 100644 --- a/src/main/java/org/openrewrite/java/spring/PropertiesToKebabCase.java +++ b/src/main/java/org/openrewrite/java/spring/PropertiesToKebabCase.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/RenameBean.java b/src/main/java/org/openrewrite/java/spring/RenameBean.java index 81b745cca..aae16edcf 100644 --- a/src/main/java/org/openrewrite/java/spring/RenameBean.java +++ b/src/main/java/org/openrewrite/java/spring/RenameBean.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/SeparateApplicationYamlByProfile.java b/src/main/java/org/openrewrite/java/spring/SeparateApplicationYamlByProfile.java index ac5c88afb..5d896ac22 100644 --- a/src/main/java/org/openrewrite/java/spring/SeparateApplicationYamlByProfile.java +++ b/src/main/java/org/openrewrite/java/spring/SeparateApplicationYamlByProfile.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/SpringExecutionContextView.java b/src/main/java/org/openrewrite/java/spring/SpringExecutionContextView.java index f2e973a63..816ac1889 100644 --- a/src/main/java/org/openrewrite/java/spring/SpringExecutionContextView.java +++ b/src/main/java/org/openrewrite/java/spring/SpringExecutionContextView.java @@ -1,11 +1,11 @@ /* - * Copyright 2020 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/UpdateApiManifest.java b/src/main/java/org/openrewrite/java/spring/UpdateApiManifest.java index c4ced4a8a..da8371eef 100644 --- a/src/main/java/org/openrewrite/java/spring/UpdateApiManifest.java +++ b/src/main/java/org/openrewrite/java/spring/UpdateApiManifest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionString.java b/src/main/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionString.java index 7d6c4012e..19897d881 100644 --- a/src/main/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionString.java +++ b/src/main/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionString.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/amqp/package-info.java b/src/main/java/org/openrewrite/java/spring/amqp/package-info.java index bc3817009..20ef887fe 100644 --- a/src/main/java/org/openrewrite/java/spring/amqp/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/amqp/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/batch/MigrateItemWriterWrite.java b/src/main/java/org/openrewrite/java/spring/batch/MigrateItemWriterWrite.java index de6ad64e1..caf6f82cc 100644 --- a/src/main/java/org/openrewrite/java/spring/batch/MigrateItemWriterWrite.java +++ b/src/main/java/org/openrewrite/java/spring/batch/MigrateItemWriterWrite.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/batch/MigrateJobBuilderFactory.java b/src/main/java/org/openrewrite/java/spring/batch/MigrateJobBuilderFactory.java index 20682de59..ccfea1fb8 100644 --- a/src/main/java/org/openrewrite/java/spring/batch/MigrateJobBuilderFactory.java +++ b/src/main/java/org/openrewrite/java/spring/batch/MigrateJobBuilderFactory.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/batch/MigrateStepBuilderFactory.java b/src/main/java/org/openrewrite/java/spring/batch/MigrateStepBuilderFactory.java index b38c5eb91..6d0c79b1a 100644 --- a/src/main/java/org/openrewrite/java/spring/batch/MigrateStepBuilderFactory.java +++ b/src/main/java/org/openrewrite/java/spring/batch/MigrateStepBuilderFactory.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/batch/RemoveDefaultBatchConfigurer.java b/src/main/java/org/openrewrite/java/spring/batch/RemoveDefaultBatchConfigurer.java index 93f7ea421..5bb8d9f95 100644 --- a/src/main/java/org/openrewrite/java/spring/batch/RemoveDefaultBatchConfigurer.java +++ b/src/main/java/org/openrewrite/java/spring/batch/RemoveDefaultBatchConfigurer.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/batch/ReplaceSupportClassWithItsInterface.java b/src/main/java/org/openrewrite/java/spring/batch/ReplaceSupportClassWithItsInterface.java index fd57b3032..ced8b8b73 100644 --- a/src/main/java/org/openrewrite/java/spring/batch/ReplaceSupportClassWithItsInterface.java +++ b/src/main/java/org/openrewrite/java/spring/batch/ReplaceSupportClassWithItsInterface.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/batch/package-info.java b/src/main/java/org/openrewrite/java/spring/batch/package-info.java index b4f1afc32..a0733aef3 100644 --- a/src/main/java/org/openrewrite/java/spring/batch/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/batch/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/AddConfigurationAnnotationIfBeansPresent.java b/src/main/java/org/openrewrite/java/spring/boot2/AddConfigurationAnnotationIfBeansPresent.java index 70dd85e99..746a83e5d 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/AddConfigurationAnnotationIfBeansPresent.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/AddConfigurationAnnotationIfBeansPresent.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/ChangeEmbeddedServletContainerCustomizer.java b/src/main/java/org/openrewrite/java/spring/boot2/ChangeEmbeddedServletContainerCustomizer.java index 2c7609b74..24f9a67cf 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/ChangeEmbeddedServletContainerCustomizer.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/ChangeEmbeddedServletContainerCustomizer.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/ConditionalOnBeanAnyNestedCondition.java b/src/main/java/org/openrewrite/java/spring/boot2/ConditionalOnBeanAnyNestedCondition.java index 7baf78a39..0f8423798 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/ConditionalOnBeanAnyNestedCondition.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/ConditionalOnBeanAnyNestedCondition.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/ConvertToSecurityDslVisitor.java b/src/main/java/org/openrewrite/java/spring/boot2/ConvertToSecurityDslVisitor.java index f372db40c..d04cd3205 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/ConvertToSecurityDslVisitor.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/ConvertToSecurityDslVisitor.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/DatabaseComponentAndBeanInitializationOrdering.java b/src/main/java/org/openrewrite/java/spring/boot2/DatabaseComponentAndBeanInitializationOrdering.java index c1a571666..5518545fe 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/DatabaseComponentAndBeanInitializationOrdering.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/DatabaseComponentAndBeanInitializationOrdering.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/GetErrorAttributes.java b/src/main/java/org/openrewrite/java/spring/boot2/GetErrorAttributes.java index 300110d0c..d216b5710 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/GetErrorAttributes.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/GetErrorAttributes.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDsl.java index af52be54e..95c91c68e 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/HeadersConfigurerLambdaDsl.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java index 88add819f..c944acf01 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/HttpSecurityLambdaDsl.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MergeBootstrapYamlWithApplicationYaml.java b/src/main/java/org/openrewrite/java/spring/boot2/MergeBootstrapYamlWithApplicationYaml.java index 490b694fb..c25b51022 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MergeBootstrapYamlWithApplicationYaml.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MergeBootstrapYamlWithApplicationYaml.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateActuatorMediaTypeToApiVersion.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateActuatorMediaTypeToApiVersion.java index c82d0f3be..3a425be07 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateActuatorMediaTypeToApiVersion.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateActuatorMediaTypeToApiVersion.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateConfigurationPropertiesBindingPostProcessorValidatorBeanName.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateConfigurationPropertiesBindingPostProcessorValidatorBeanName.java index 83c8634a7..59906b4e6 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateConfigurationPropertiesBindingPostProcessorValidatorBeanName.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateConfigurationPropertiesBindingPostProcessorValidatorBeanName.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateDatabaseCredentials.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateDatabaseCredentials.java index b3a38772e..160dd5282 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateDatabaseCredentials.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateDatabaseCredentials.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateDiskSpaceHealthIndicatorConstructor.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateDiskSpaceHealthIndicatorConstructor.java index 7129cd8b2..c54cc66cd 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateDiskSpaceHealthIndicatorConstructor.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateDiskSpaceHealthIndicatorConstructor.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateErrorPropertiesIncludeStackTraceConstants.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateErrorPropertiesIncludeStackTraceConstants.java index ef9438f52..c553899bd 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateErrorPropertiesIncludeStackTraceConstants.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateErrorPropertiesIncludeStackTraceConstants.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateHsqlEmbeddedDatabaseConnection.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateHsqlEmbeddedDatabaseConnection.java index 2e993b5c2..9238733de 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateHsqlEmbeddedDatabaseConnection.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateHsqlEmbeddedDatabaseConnection.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateLocalServerPortAnnotation.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateLocalServerPortAnnotation.java index b77adaefa..1d64c013a 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateLocalServerPortAnnotation.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateLocalServerPortAnnotation.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateLoggingSystemPropertyConstants.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateLoggingSystemPropertyConstants.java index 66c984282..f3af2bf38 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateLoggingSystemPropertyConstants.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateLoggingSystemPropertyConstants.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateMultipartConfigFactory.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateMultipartConfigFactory.java index b4d505f45..a6d90665e 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateMultipartConfigFactory.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateMultipartConfigFactory.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MigrateRestTemplateBuilderTimeoutByInt.java b/src/main/java/org/openrewrite/java/spring/boot2/MigrateRestTemplateBuilderTimeoutByInt.java index 3d87c65c9..7cdff3a57 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MigrateRestTemplateBuilderTimeoutByInt.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MigrateRestTemplateBuilderTimeoutByInt.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/MoveAutoConfigurationToImportsFile.java b/src/main/java/org/openrewrite/java/spring/boot2/MoveAutoConfigurationToImportsFile.java index b769cb42c..823f8da30 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/MoveAutoConfigurationToImportsFile.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/MoveAutoConfigurationToImportsFile.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/OutputCaptureExtension.java b/src/main/java/org/openrewrite/java/spring/boot2/OutputCaptureExtension.java index b52a0625b..707953796 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/OutputCaptureExtension.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/OutputCaptureExtension.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/ReplaceDeprecatedEnvironmentTestUtils.java b/src/main/java/org/openrewrite/java/spring/boot2/ReplaceDeprecatedEnvironmentTestUtils.java index 82a6b0df8..4032a4153 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/ReplaceDeprecatedEnvironmentTestUtils.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/ReplaceDeprecatedEnvironmentTestUtils.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/ReplaceExtendWithAndContextConfiguration.java b/src/main/java/org/openrewrite/java/spring/boot2/ReplaceExtendWithAndContextConfiguration.java index e477caf70..5b3c49e70 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/ReplaceExtendWithAndContextConfiguration.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/ReplaceExtendWithAndContextConfiguration.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/RestTemplateBuilderRequestFactory.java b/src/main/java/org/openrewrite/java/spring/boot2/RestTemplateBuilderRequestFactory.java index 34ccc490c..c4f3615c7 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/RestTemplateBuilderRequestFactory.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/RestTemplateBuilderRequestFactory.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/SamlRelyingPartyPropertyApplicationPropertiesMove.java b/src/main/java/org/openrewrite/java/spring/boot2/SamlRelyingPartyPropertyApplicationPropertiesMove.java index aa1a900dd..733e008a0 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/SamlRelyingPartyPropertyApplicationPropertiesMove.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/SamlRelyingPartyPropertyApplicationPropertiesMove.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/ServerHttpSecurityLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/boot2/ServerHttpSecurityLambdaDsl.java index 83deb7826..0e057bae5 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/ServerHttpSecurityLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/ServerHttpSecurityLambdaDsl.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/SpringBootMavenPluginMigrateAgentToAgents.java b/src/main/java/org/openrewrite/java/spring/boot2/SpringBootMavenPluginMigrateAgentToAgents.java index 72ef38ce7..53528be09 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/SpringBootMavenPluginMigrateAgentToAgents.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/SpringBootMavenPluginMigrateAgentToAgents.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/UnnecessarySpringExtension.java b/src/main/java/org/openrewrite/java/spring/boot2/UnnecessarySpringExtension.java index 0d45315ac..aa3201572 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/UnnecessarySpringExtension.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/UnnecessarySpringExtension.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/package-info.java b/src/main/java/org/openrewrite/java/spring/boot2/package-info.java index e729a7f8c..e9632bd9d 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/search/CustomizingJooqDefaultConfiguration.java b/src/main/java/org/openrewrite/java/spring/boot2/search/CustomizingJooqDefaultConfiguration.java index a3383a7e6..ff7d4da75 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/search/CustomizingJooqDefaultConfiguration.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/search/CustomizingJooqDefaultConfiguration.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/search/EntityIdForRepositoryVisitor.java b/src/main/java/org/openrewrite/java/spring/boot2/search/EntityIdForRepositoryVisitor.java index 42c84c8d4..bb16af69c 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/search/EntityIdForRepositoryVisitor.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/search/EntityIdForRepositoryVisitor.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/search/IntegrationSchedulerPoolRecipe.java b/src/main/java/org/openrewrite/java/spring/boot2/search/IntegrationSchedulerPoolRecipe.java index 7024d539f..ac8c0b235 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/search/IntegrationSchedulerPoolRecipe.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/search/IntegrationSchedulerPoolRecipe.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/search/LoggingShutdownHooks.java b/src/main/java/org/openrewrite/java/spring/boot2/search/LoggingShutdownHooks.java index aeef5125a..4845c23d2 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/search/LoggingShutdownHooks.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/search/LoggingShutdownHooks.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot2/search/package-info.java b/src/main/java/org/openrewrite/java/spring/boot2/search/package-info.java index 20d686462..1835a3a30 100644 --- a/src/main/java/org/openrewrite/java/spring/boot2/search/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/boot2/search/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/AddRouteTrailingSlash.java b/src/main/java/org/openrewrite/java/spring/boot3/AddRouteTrailingSlash.java index e7388f8f9..8461faf9b 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/AddRouteTrailingSlash.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/AddRouteTrailingSlash.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/AddSetUseTrailingSlashMatch.java b/src/main/java/org/openrewrite/java/spring/boot3/AddSetUseTrailingSlashMatch.java index 2e2d2fa20..f12f0c793 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/AddSetUseTrailingSlashMatch.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/AddSetUseTrailingSlashMatch.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/ConfigurationOverEnableSecurity.java b/src/main/java/org/openrewrite/java/spring/boot3/ConfigurationOverEnableSecurity.java index c64e7baae..d59dab826 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/ConfigurationOverEnableSecurity.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/ConfigurationOverEnableSecurity.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/DowngradeServletApiWhenUsingJetty.java b/src/main/java/org/openrewrite/java/spring/boot3/DowngradeServletApiWhenUsingJetty.java index 0c8799a41..c75044571 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/DowngradeServletApiWhenUsingJetty.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/DowngradeServletApiWhenUsingJetty.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/MaintainTrailingSlashURLMappings.java b/src/main/java/org/openrewrite/java/spring/boot3/MaintainTrailingSlashURLMappings.java index 02767fa0e..8d3a8be4a 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/MaintainTrailingSlashURLMappings.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/MaintainTrailingSlashURLMappings.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/MigrateWebMvcTagsToObservationConvention.java b/src/main/java/org/openrewrite/java/spring/boot3/MigrateWebMvcTagsToObservationConvention.java index 1d292fa3b..0d6cd1c64 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/MigrateWebMvcTagsToObservationConvention.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/MigrateWebMvcTagsToObservationConvention.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/PreciseBeanType.java b/src/main/java/org/openrewrite/java/spring/boot3/PreciseBeanType.java index d8814ccd0..6ea018ac1 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/PreciseBeanType.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/PreciseBeanType.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/RemoveConstructorBindingAnnotation.java b/src/main/java/org/openrewrite/java/spring/boot3/RemoveConstructorBindingAnnotation.java index 39ce8bc89..8154caae5 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/RemoveConstructorBindingAnnotation.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/RemoveConstructorBindingAnnotation.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/RemoveEnableBatchProcessing.java b/src/main/java/org/openrewrite/java/spring/boot3/RemoveEnableBatchProcessing.java index d28660d27..ee0f35eb4 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/RemoveEnableBatchProcessing.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/RemoveEnableBatchProcessing.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/RemoveSolrAutoConfigurationExclude.java b/src/main/java/org/openrewrite/java/spring/boot3/RemoveSolrAutoConfigurationExclude.java index 847f6d47b..377970d33 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/RemoveSolrAutoConfigurationExclude.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/RemoveSolrAutoConfigurationExclude.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/boot3/package-info.java b/src/main/java/org/openrewrite/java/spring/boot3/package-info.java index 02205f77b..ae31dc4df 100644 --- a/src/main/java/org/openrewrite/java/spring/boot3/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/boot3/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuth.java b/src/main/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuth.java index 76d22725b..a68158aaa 100644 --- a/src/main/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuth.java +++ b/src/main/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuth.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptional.java b/src/main/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptional.java index fad42dee7..a9cdbba7e 100644 --- a/src/main/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptional.java +++ b/src/main/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptional.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/data/MigrateJpaSort.java b/src/main/java/org/openrewrite/java/spring/data/MigrateJpaSort.java index 266a4c986..446fc7955 100644 --- a/src/main/java/org/openrewrite/java/spring/data/MigrateJpaSort.java +++ b/src/main/java/org/openrewrite/java/spring/data/MigrateJpaSort.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/data/MigrateQuerydslJpaRepository.java b/src/main/java/org/openrewrite/java/spring/data/MigrateQuerydslJpaRepository.java index 87ddb1289..9435202e1 100644 --- a/src/main/java/org/openrewrite/java/spring/data/MigrateQuerydslJpaRepository.java +++ b/src/main/java/org/openrewrite/java/spring/data/MigrateQuerydslJpaRepository.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/data/RefactorSimpleMongoDbFactory.java b/src/main/java/org/openrewrite/java/spring/data/RefactorSimpleMongoDbFactory.java index cd986dbd2..8fc322b65 100644 --- a/src/main/java/org/openrewrite/java/spring/data/RefactorSimpleMongoDbFactory.java +++ b/src/main/java/org/openrewrite/java/spring/data/RefactorSimpleMongoDbFactory.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionString.java b/src/main/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionString.java index 6fa9a99fe..c2a784777 100644 --- a/src/main/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionString.java +++ b/src/main/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionString.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/data/package-info.java b/src/main/java/org/openrewrite/java/spring/data/package-info.java index 8fdda7542..7f320c3f8 100644 --- a/src/main/java/org/openrewrite/java/spring/data/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/data/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/BeanMethodReturnNull.java b/src/main/java/org/openrewrite/java/spring/framework/BeanMethodReturnNull.java index aa3ccc5a6..f7b2e281a 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/BeanMethodReturnNull.java +++ b/src/main/java/org/openrewrite/java/spring/framework/BeanMethodReturnNull.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/BeanMethodsNotPublic.java b/src/main/java/org/openrewrite/java/spring/framework/BeanMethodsNotPublic.java index eb3cc3888..aed1bd004 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/BeanMethodsNotPublic.java +++ b/src/main/java/org/openrewrite/java/spring/framework/BeanMethodsNotPublic.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/EnvironmentAcceptsProfiles.java b/src/main/java/org/openrewrite/java/spring/framework/EnvironmentAcceptsProfiles.java index 6a10f1818..f55121e2e 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/EnvironmentAcceptsProfiles.java +++ b/src/main/java/org/openrewrite/java/spring/framework/EnvironmentAcceptsProfiles.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeout.java b/src/main/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeout.java index b56249c6d..4565c8702 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeout.java +++ b/src/main/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeout.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/JdbcTemplateObjectArrayArgToVarArgs.java b/src/main/java/org/openrewrite/java/spring/framework/JdbcTemplateObjectArrayArgToVarArgs.java index 646780c0e..843dc16be 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/JdbcTemplateObjectArrayArgToVarArgs.java +++ b/src/main/java/org/openrewrite/java/spring/framework/JdbcTemplateObjectArrayArgToVarArgs.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/MigrateHandlerInterceptor.java b/src/main/java/org/openrewrite/java/spring/framework/MigrateHandlerInterceptor.java index a031a4bf8..54ced9c57 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/MigrateHandlerInterceptor.java +++ b/src/main/java/org/openrewrite/java/spring/framework/MigrateHandlerInterceptor.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/MigrateInstantiationAwareBeanPostProcessorAdapter.java b/src/main/java/org/openrewrite/java/spring/framework/MigrateInstantiationAwareBeanPostProcessorAdapter.java index 30e5a51fb..e9f9c8a72 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/MigrateInstantiationAwareBeanPostProcessorAdapter.java +++ b/src/main/java/org/openrewrite/java/spring/framework/MigrateInstantiationAwareBeanPostProcessorAdapter.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode.java b/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode.java index 07355736c..25b5cb8eb 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode.java +++ b/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetRawStatusCodeMethod.java b/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetRawStatusCodeMethod.java index 800ae1743..6925e4628 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetRawStatusCodeMethod.java +++ b/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetRawStatusCodeMethod.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetStatusCodeMethod.java b/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetStatusCodeMethod.java index 523f8b5cc..4c55ebe1b 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetStatusCodeMethod.java +++ b/src/main/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionGetStatusCodeMethod.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/MigrateUtf8MediaTypes.java b/src/main/java/org/openrewrite/java/spring/framework/MigrateUtf8MediaTypes.java index 43ec9c0b3..5a6dff834 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/MigrateUtf8MediaTypes.java +++ b/src/main/java/org/openrewrite/java/spring/framework/MigrateUtf8MediaTypes.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/MigrateWebMvcConfigurerAdapter.java b/src/main/java/org/openrewrite/java/spring/framework/MigrateWebMvcConfigurerAdapter.java index 479781793..7ccb9663e 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/MigrateWebMvcConfigurerAdapter.java +++ b/src/main/java/org/openrewrite/java/spring/framework/MigrateWebMvcConfigurerAdapter.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/framework/package-info.java b/src/main/java/org/openrewrite/java/spring/framework/package-info.java index 340b79c10..71445b930 100644 --- a/src/main/java/org/openrewrite/java/spring/framework/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/framework/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithHttpHeadersConstants.java b/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithHttpHeadersConstants.java index ef751ff9d..a702ca575 100644 --- a/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithHttpHeadersConstants.java +++ b/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithHttpHeadersConstants.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithMediaTypeConstants.java b/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithMediaTypeConstants.java index 8b336e2e8..92bb5dc61 100644 --- a/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithMediaTypeConstants.java +++ b/src/main/java/org/openrewrite/java/spring/http/ReplaceStringLiteralsWithMediaTypeConstants.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java b/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java index b6c790c66..afd037a1c 100644 --- a/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java +++ b/src/main/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCalls.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCalls.java b/src/main/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCalls.java index 52234e394..b129bef22 100644 --- a/src/main/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCalls.java +++ b/src/main/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCalls.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/http/package-info.java b/src/main/java/org/openrewrite/java/spring/http/package-info.java index 3d1738f65..8be463c61 100644 --- a/src/main/java/org/openrewrite/java/spring/http/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/http/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/internal/LocalVariableUtils.java b/src/main/java/org/openrewrite/java/spring/internal/LocalVariableUtils.java index e852fe0e2..d674eac89 100644 --- a/src/main/java/org/openrewrite/java/spring/internal/LocalVariableUtils.java +++ b/src/main/java/org/openrewrite/java/spring/internal/LocalVariableUtils.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnType.java b/src/main/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnType.java index d1d57cbc2..f6264867b 100644 --- a/src/main/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnType.java +++ b/src/main/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnType.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDuration.java b/src/main/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDuration.java index 23ae46e74..19f9756d2 100644 --- a/src/main/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDuration.java +++ b/src/main/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDuration.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFuture.java b/src/main/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFuture.java index 16fdc4355..e8ae5fed1 100644 --- a/src/main/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFuture.java +++ b/src/main/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFuture.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/kafka/package-info.java b/src/main/java/org/openrewrite/java/spring/kafka/package-info.java index ff954429e..5e7307a82 100644 --- a/src/main/java/org/openrewrite/java/spring/kafka/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/kafka/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/package-info.java b/src/main/java/org/openrewrite/java/spring/package-info.java index 39dddacc0..908a62c96 100644 --- a/src/main/java/org/openrewrite/java/spring/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/search/FindApiCalls.java b/src/main/java/org/openrewrite/java/spring/search/FindApiCalls.java index b49a59d21..e46d6aaa9 100644 --- a/src/main/java/org/openrewrite/java/spring/search/FindApiCalls.java +++ b/src/main/java/org/openrewrite/java/spring/search/FindApiCalls.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/search/FindApiEndpoints.java b/src/main/java/org/openrewrite/java/spring/search/FindApiEndpoints.java index bad16e4c7..5b5f3cf88 100644 --- a/src/main/java/org/openrewrite/java/spring/search/FindApiEndpoints.java +++ b/src/main/java/org/openrewrite/java/spring/search/FindApiEndpoints.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/search/FindSpringComponents.java b/src/main/java/org/openrewrite/java/spring/search/FindSpringComponents.java index a1bf229ab..d6d38f6ee 100644 --- a/src/main/java/org/openrewrite/java/spring/search/FindSpringComponents.java +++ b/src/main/java/org/openrewrite/java/spring/search/FindSpringComponents.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/search/package-info.java b/src/main/java/org/openrewrite/java/spring/search/package-info.java index 895ec65f8..4ac207c09 100644 --- a/src/main/java/org/openrewrite/java/spring/search/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/search/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/AuthorizeHttpRequests.java b/src/main/java/org/openrewrite/java/spring/security5/AuthorizeHttpRequests.java index 95c85545d..7df325fe6 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/AuthorizeHttpRequests.java +++ b/src/main/java/org/openrewrite/java/spring/security5/AuthorizeHttpRequests.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/ReplaceGlobalMethodSecurityWithMethodSecurity.java b/src/main/java/org/openrewrite/java/spring/security5/ReplaceGlobalMethodSecurityWithMethodSecurity.java index 9420f3f62..0170ad8cd 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/ReplaceGlobalMethodSecurityWithMethodSecurity.java +++ b/src/main/java/org/openrewrite/java/spring/security5/ReplaceGlobalMethodSecurityWithMethodSecurity.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/UpdateArgon2PasswordEncoder.java b/src/main/java/org/openrewrite/java/spring/security5/UpdateArgon2PasswordEncoder.java index 591e6d82c..9970a84fc 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/UpdateArgon2PasswordEncoder.java +++ b/src/main/java/org/openrewrite/java/spring/security5/UpdateArgon2PasswordEncoder.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/UpdatePbkdf2PasswordEncoder.java b/src/main/java/org/openrewrite/java/spring/security5/UpdatePbkdf2PasswordEncoder.java index 85924ff0f..93f69a172 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/UpdatePbkdf2PasswordEncoder.java +++ b/src/main/java/org/openrewrite/java/spring/security5/UpdatePbkdf2PasswordEncoder.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/UpdateSCryptPasswordEncoder.java b/src/main/java/org/openrewrite/java/spring/security5/UpdateSCryptPasswordEncoder.java index c647a408d..743193178 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/UpdateSCryptPasswordEncoder.java +++ b/src/main/java/org/openrewrite/java/spring/security5/UpdateSCryptPasswordEncoder.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/UseNewRequestMatchers.java b/src/main/java/org/openrewrite/java/spring/security5/UseNewRequestMatchers.java index 4e092d974..13beaf698 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/UseNewRequestMatchers.java +++ b/src/main/java/org/openrewrite/java/spring/security5/UseNewRequestMatchers.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/UseNewSecurityMatchers.java b/src/main/java/org/openrewrite/java/spring/security5/UseNewSecurityMatchers.java index 9ca324b69..dc786a705 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/UseNewSecurityMatchers.java +++ b/src/main/java/org/openrewrite/java/spring/security5/UseNewSecurityMatchers.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java b/src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java index f3b70fbc5..793b91542 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java +++ b/src/main/java/org/openrewrite/java/spring/security5/WebSecurityConfigurerAdapter.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security5/package-info.java b/src/main/java/org/openrewrite/java/spring/security5/package-info.java index 914be2a91..a45c03e76 100644 --- a/src/main/java/org/openrewrite/java/spring/security5/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/security5/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/ApplyToWithLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/security6/ApplyToWithLambdaDsl.java index 5e014d8a5..64f759687 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/ApplyToWithLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/security6/ApplyToWithLambdaDsl.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/PropagateAuthenticationServiceExceptions.java b/src/main/java/org/openrewrite/java/spring/security6/PropagateAuthenticationServiceExceptions.java index c417e6869..caeef0d4c 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/PropagateAuthenticationServiceExceptions.java +++ b/src/main/java/org/openrewrite/java/spring/security6/PropagateAuthenticationServiceExceptions.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/RemoveFilterSecurityInterceptorOncePerRequest.java b/src/main/java/org/openrewrite/java/spring/security6/RemoveFilterSecurityInterceptorOncePerRequest.java index e8fc27f4c..eaa25c365 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/RemoveFilterSecurityInterceptorOncePerRequest.java +++ b/src/main/java/org/openrewrite/java/spring/security6/RemoveFilterSecurityInterceptorOncePerRequest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/RemoveOauth2LoginConfig.java b/src/main/java/org/openrewrite/java/spring/security6/RemoveOauth2LoginConfig.java index a1c7afc53..76dfbdcd4 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/RemoveOauth2LoginConfig.java +++ b/src/main/java/org/openrewrite/java/spring/security6/RemoveOauth2LoginConfig.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/RequireExplicitSavingOfSecurityContextRepository.java b/src/main/java/org/openrewrite/java/spring/security6/RequireExplicitSavingOfSecurityContextRepository.java index 89910eab7..b23827162 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/RequireExplicitSavingOfSecurityContextRepository.java +++ b/src/main/java/org/openrewrite/java/spring/security6/RequireExplicitSavingOfSecurityContextRepository.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/UpdateEnableReactiveMethodSecurity.java b/src/main/java/org/openrewrite/java/spring/security6/UpdateEnableReactiveMethodSecurity.java index efad5f031..1d5149794 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/UpdateEnableReactiveMethodSecurity.java +++ b/src/main/java/org/openrewrite/java/spring/security6/UpdateEnableReactiveMethodSecurity.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/UpdateRequestCache.java b/src/main/java/org/openrewrite/java/spring/security6/UpdateRequestCache.java index f6eeddcf1..0aef74278 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/UpdateRequestCache.java +++ b/src/main/java/org/openrewrite/java/spring/security6/UpdateRequestCache.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/UseSha256InRememberMe.java b/src/main/java/org/openrewrite/java/spring/security6/UseSha256InRememberMe.java index 783640fdb..261a883db 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/UseSha256InRememberMe.java +++ b/src/main/java/org/openrewrite/java/spring/security6/UseSha256InRememberMe.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2ClientLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2ClientLambdaDsl.java index eda4640c6..bfeb664e8 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2ClientLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2ClientLambdaDsl.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2LoginLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2LoginLambdaDsl.java index 7a2fc9eae..5175a5d26 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2LoginLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/security6/oauth2/client/OAuth2LoginLambdaDsl.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/oauth2/server/resource/OAuth2ResourceServerLambdaDsl.java b/src/main/java/org/openrewrite/java/spring/security6/oauth2/server/resource/OAuth2ResourceServerLambdaDsl.java index 2a2f82fb1..a6f5bc60c 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/oauth2/server/resource/OAuth2ResourceServerLambdaDsl.java +++ b/src/main/java/org/openrewrite/java/spring/security6/oauth2/server/resource/OAuth2ResourceServerLambdaDsl.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/security6/package-info.java b/src/main/java/org/openrewrite/java/spring/security6/package-info.java index e88287e3e..032512645 100644 --- a/src/main/java/org/openrewrite/java/spring/security6/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/security6/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/table/ApiCalls.java b/src/main/java/org/openrewrite/java/spring/table/ApiCalls.java index c59570a35..f5c91f822 100644 --- a/src/main/java/org/openrewrite/java/spring/table/ApiCalls.java +++ b/src/main/java/org/openrewrite/java/spring/table/ApiCalls.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/table/ApiEndpoints.java b/src/main/java/org/openrewrite/java/spring/table/ApiEndpoints.java index 80495f8f8..ba222145e 100644 --- a/src/main/java/org/openrewrite/java/spring/table/ApiEndpoints.java +++ b/src/main/java/org/openrewrite/java/spring/table/ApiEndpoints.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/table/SpringComponentRelationships.java b/src/main/java/org/openrewrite/java/spring/table/SpringComponentRelationships.java index bbc2d427b..1f9e4e511 100644 --- a/src/main/java/org/openrewrite/java/spring/table/SpringComponentRelationships.java +++ b/src/main/java/org/openrewrite/java/spring/table/SpringComponentRelationships.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/table/SpringComponents.java b/src/main/java/org/openrewrite/java/spring/table/SpringComponents.java index 62785cb53..9495b8aad 100644 --- a/src/main/java/org/openrewrite/java/spring/table/SpringComponents.java +++ b/src/main/java/org/openrewrite/java/spring/table/SpringComponents.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtension.java b/src/main/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtension.java index 3e1c569a6..1ebe4033e 100644 --- a/src/main/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtension.java +++ b/src/main/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtension.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/test/package-info.java b/src/main/java/org/openrewrite/java/spring/test/package-info.java index cbb43bc31..3f6c2f1ef 100644 --- a/src/main/java/org/openrewrite/java/spring/test/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/test/package-info.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/trait/SpringBean.java b/src/main/java/org/openrewrite/java/spring/trait/SpringBean.java index cf51ea1e4..2d58a2582 100644 --- a/src/main/java/org/openrewrite/java/spring/trait/SpringBean.java +++ b/src/main/java/org/openrewrite/java/spring/trait/SpringBean.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/trait/SpringRequestMapping.java b/src/main/java/org/openrewrite/java/spring/trait/SpringRequestMapping.java index 523cbaba5..52838680b 100644 --- a/src/main/java/org/openrewrite/java/spring/trait/SpringRequestMapping.java +++ b/src/main/java/org/openrewrite/java/spring/trait/SpringRequestMapping.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/trait/package-info.java b/src/main/java/org/openrewrite/java/spring/trait/package-info.java index 3031086b4..2e64cca63 100644 --- a/src/main/java/org/openrewrite/java/spring/trait/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/trait/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocation.java b/src/main/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocation.java index abad6c7ab..3812a9203 100644 --- a/src/main/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocation.java +++ b/src/main/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocation.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitor.java b/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitor.java index 6a4948402..e70f4e7be 100644 --- a/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitor.java +++ b/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitor.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFuture.java b/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFuture.java index 139f1be10..5e0577d80 100644 --- a/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFuture.java +++ b/src/main/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFuture.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/util/concurrent/SuccessFailureCallbackToBiConsumerVisitor.java b/src/main/java/org/openrewrite/java/spring/util/concurrent/SuccessFailureCallbackToBiConsumerVisitor.java index 28177e7f9..92bec74dc 100644 --- a/src/main/java/org/openrewrite/java/spring/util/concurrent/SuccessFailureCallbackToBiConsumerVisitor.java +++ b/src/main/java/org/openrewrite/java/spring/util/concurrent/SuccessFailureCallbackToBiConsumerVisitor.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/util/concurrent/package-info.java b/src/main/java/org/openrewrite/java/spring/util/concurrent/package-info.java index c5b7e1d11..e1391a6f5 100644 --- a/src/main/java/org/openrewrite/java/spring/util/concurrent/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/util/concurrent/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/spring/util/package-info.java b/src/main/java/org/openrewrite/java/spring/util/package-info.java index 4abd01b3a..b5067e89f 100644 --- a/src/main/java/org/openrewrite/java/spring/util/package-info.java +++ b/src/main/java/org/openrewrite/java/spring/util/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/maven/spring/UpgradeExplicitSpringBootDependencies.java b/src/main/java/org/openrewrite/maven/spring/UpgradeExplicitSpringBootDependencies.java index 36bffcd51..0bdbad91e 100644 --- a/src/main/java/org/openrewrite/maven/spring/UpgradeExplicitSpringBootDependencies.java +++ b/src/main/java/org/openrewrite/maven/spring/UpgradeExplicitSpringBootDependencies.java @@ -1,19 +1,18 @@ /* - * Copyright 2021 - 2022 the original author or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); + * Copyright 2024 the original author or authors. + *
+ * Licensed under the Moderne Source Available License (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 - * + *
+ * https://docs.moderne.io/licensing/moderne-source-available-license + *
* 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.openrewrite.maven.spring; import lombok.Data; diff --git a/src/main/java/org/openrewrite/maven/spring/package-info.java b/src/main/java/org/openrewrite/maven/spring/package-info.java index 9221d3bcc..29ddacf99 100644 --- a/src/main/java/org/openrewrite/maven/spring/package-info.java +++ b/src/main/java/org/openrewrite/maven/spring/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/best-practices.yml b/src/main/resources/META-INF/rewrite/best-practices.yml index 7f1dc4525..693083d96 100644 --- a/src/main/resources/META-INF/rewrite/best-practices.yml +++ b/src/main/resources/META-INF/rewrite/best-practices.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBoot2BestPractices diff --git a/src/main/resources/META-INF/rewrite/category.yml b/src/main/resources/META-INF/rewrite/category.yml index d0de44dae..a3547628d 100644 --- a/src/main/resources/META-INF/rewrite/category.yml +++ b/src/main/resources/META-INF/rewrite/category.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/category name: Spring diff --git a/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml b/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml index 026c8df32..40f6548bc 100644 --- a/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml +++ b/src/main/resources/META-INF/rewrite/replace-mock-and-spybean.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml b/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml index bfb16c520..f95920a95 100644 --- a/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml +++ b/src/main/resources/META-INF/rewrite/spring-batch-5.0.yml @@ -1,11 +1,11 @@ # -# Copyright 2022 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe diff --git a/src/main/resources/META-INF/rewrite/spring-boot-20-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-20-properties.yml index 3ddfbf769..87810f510 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-20-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-20-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_0 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-20.yml b/src/main/resources/META-INF/rewrite/spring-boot-20.yml index acbeee759..800d62a3c 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-20.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-20.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-21-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-21-properties.yml index 112693398..ff965e7d8 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-21-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-21-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_1 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-21.yml b/src/main/resources/META-INF/rewrite/spring-boot-21.yml index b1f5a8f02..37e79d90b 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-21.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-21.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-22-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-22-properties.yml index 021b783d1..0d7b7a85b 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-22-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-22-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_2 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-22.yml b/src/main/resources/META-INF/rewrite/spring-boot-22.yml index 528ae6613..f30f6bc0b 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-22.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-22.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-23-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-23-properties.yml index 602769b77..0f5fca11d 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-23-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-23-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_3 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-23.yml b/src/main/resources/META-INF/rewrite/spring-boot-23.yml index 5c990697c..535d3cdb7 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-23.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-23.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-24-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-24-properties.yml index 1ef29d34f..da04d4b79 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-24-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-24-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_4 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-24.yml b/src/main/resources/META-INF/rewrite/spring-boot-24.yml index 7eaff9417..37a4d74a0 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-24.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-24.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-25-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-25-properties.yml index 64fb03cea..791ea7dba 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-25-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-25-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_5 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-25.yml b/src/main/resources/META-INF/rewrite/spring-boot-25.yml index 09c9f3be2..24c677ac8 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-25.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-25.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-26-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-26-properties.yml index 5d9e68667..a24987856 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-26-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-26-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_6 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-26.yml b/src/main/resources/META-INF/rewrite/spring-boot-26.yml index 3b75f5cf1..7d778de64 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-26.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-26.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-27-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-27-properties.yml index 4a4868c61..0bdf29e67 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-27-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-27-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot2.SpringBootProperties_2_7 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-27.yml b/src/main/resources/META-INF/rewrite/spring-boot-27.yml index 8b98ffd4b..b00e0501a 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-27.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-27.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-boot-30-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-30-properties.yml index 14687b0da..61db33818 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-30-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-30-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.SpringBootProperties_3_0 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-30.yml b/src/main/resources/META-INF/rewrite/spring-boot-30.yml index 379287ef5..ad7c3ba16 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-30.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-30.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_0 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-31-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-31-properties.yml index e5ba864c1..ef43f3d29 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-31-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-31-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.SpringBootProperties_3_1 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-31.yml b/src/main/resources/META-INF/rewrite/spring-boot-31.yml index 4d07a13a3..b9abf284a 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-31.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-31.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -######################################################################################################################## + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-32-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-32-properties.yml index ee940a798..289574b7b 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-32-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-32-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.SpringBootProperties_3_2 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-32.yml b/src/main/resources/META-INF/rewrite/spring-boot-32.yml index 2468b918e..a39ac7212 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-32.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-32.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-33-properties.yml b/src/main/resources/META-INF/rewrite/spring-boot-33-properties.yml index 166b75f2a..f5b617f6d 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-33-properties.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-33-properties.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,8 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -# This file is automatically generated by the GeneratePropertiesMigratorConfiguration class. -# Do not edit this file manually. Update the Spring Boot property metadata upstream instead. + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.SpringBootProperties_3_3 diff --git a/src/main/resources/META-INF/rewrite/spring-boot-33.yml b/src/main/resources/META-INF/rewrite/spring-boot-33.yml index 2358b3c4f..8ffcaea19 100644 --- a/src/main/resources/META-INF/rewrite/spring-boot-33.yml +++ b/src/main/resources/META-INF/rewrite/spring-boot-33.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_3 diff --git a/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml b/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml index 75407718b..b4fec0fc1 100644 --- a/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml +++ b/src/main/resources/META-INF/rewrite/spring-cloud-2022.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022 diff --git a/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml b/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml index b1c78bdbe..bb63fa194 100644 --- a/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml +++ b/src/main/resources/META-INF/rewrite/spring-cloud-2023.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.cloud2023.UpgradeSpringCloud_2023 diff --git a/src/main/resources/META-INF/rewrite/spring-data-23.yml b/src/main/resources/META-INF/rewrite/spring-data-23.yml index 0e4b9ef53..77d67e66d 100644 --- a/src/main/resources/META-INF/rewrite/spring-data-23.yml +++ b/src/main/resources/META-INF/rewrite/spring-data-23.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-data-25.yml b/src/main/resources/META-INF/rewrite/spring-data-25.yml index 6408ea49a..be76faa24 100644 --- a/src/main/resources/META-INF/rewrite/spring-data-25.yml +++ b/src/main/resources/META-INF/rewrite/spring-data-25.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-data-27.yml b/src/main/resources/META-INF/rewrite/spring-data-27.yml index b14a05ea4..6a69e7ef3 100644 --- a/src/main/resources/META-INF/rewrite/spring-data-27.yml +++ b/src/main/resources/META-INF/rewrite/spring-data-27.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-framework-50.yml b/src/main/resources/META-INF/rewrite/spring-framework-50.yml index 0550e5f77..40aaca65d 100644 --- a/src/main/resources/META-INF/rewrite/spring-framework-50.yml +++ b/src/main/resources/META-INF/rewrite/spring-framework-50.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-framework-51.yml b/src/main/resources/META-INF/rewrite/spring-framework-51.yml index 9920ffe34..b878f47b5 100644 --- a/src/main/resources/META-INF/rewrite/spring-framework-51.yml +++ b/src/main/resources/META-INF/rewrite/spring-framework-51.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- ######################################################################################################################## # Spring Framework 5.1 diff --git a/src/main/resources/META-INF/rewrite/spring-framework-52.yml b/src/main/resources/META-INF/rewrite/spring-framework-52.yml index cd18e6c5d..e23fbcdd8 100644 --- a/src/main/resources/META-INF/rewrite/spring-framework-52.yml +++ b/src/main/resources/META-INF/rewrite/spring-framework-52.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-framework-53.yml b/src/main/resources/META-INF/rewrite/spring-framework-53.yml index eaf97a62c..b24a3964d 100644 --- a/src/main/resources/META-INF/rewrite/spring-framework-53.yml +++ b/src/main/resources/META-INF/rewrite/spring-framework-53.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-framework-60.yml b/src/main/resources/META-INF/rewrite/spring-framework-60.yml index 747ba4089..f4fd2ba2e 100644 --- a/src/main/resources/META-INF/rewrite/spring-framework-60.yml +++ b/src/main/resources/META-INF/rewrite/spring-framework-60.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-framework-61.yml b/src/main/resources/META-INF/rewrite/spring-framework-61.yml index a13d933cb..344fa99ae 100644 --- a/src/main/resources/META-INF/rewrite/spring-framework-61.yml +++ b/src/main/resources/META-INF/rewrite/spring-framework-61.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/spring-kafka-30.yml b/src/main/resources/META-INF/rewrite/spring-kafka-30.yml index 9fb20bb67..66f9774e7 100644 --- a/src/main/resources/META-INF/rewrite/spring-kafka-30.yml +++ b/src/main/resources/META-INF/rewrite/spring-kafka-30.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.kafka.UpgradeSpringKafka_3_0 diff --git a/src/main/resources/META-INF/rewrite/spring-security-57.yml b/src/main/resources/META-INF/rewrite/spring-security-57.yml index 1daf0fc77..d9a97cf0e 100644 --- a/src/main/resources/META-INF/rewrite/spring-security-57.yml +++ b/src/main/resources/META-INF/rewrite/spring-security-57.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_7 diff --git a/src/main/resources/META-INF/rewrite/spring-security-58.yml b/src/main/resources/META-INF/rewrite/spring-security-58.yml index 8d0c0f143..4b67743c0 100644 --- a/src/main/resources/META-INF/rewrite/spring-security-58.yml +++ b/src/main/resources/META-INF/rewrite/spring-security-58.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_8 diff --git a/src/main/resources/META-INF/rewrite/spring-security-60.yml b/src/main/resources/META-INF/rewrite/spring-security-60.yml index ccc08f7e6..1dabd108c 100644 --- a/src/main/resources/META-INF/rewrite/spring-security-60.yml +++ b/src/main/resources/META-INF/rewrite/spring-security-60.yml @@ -1,11 +1,11 @@ # -# Copyright 2022 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_0 diff --git a/src/main/resources/META-INF/rewrite/spring-security-61.yml b/src/main/resources/META-INF/rewrite/spring-security-61.yml index 3b8e9289e..2fe75feb5 100644 --- a/src/main/resources/META-INF/rewrite/spring-security-61.yml +++ b/src/main/resources/META-INF/rewrite/spring-security-61.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_1 diff --git a/src/main/resources/META-INF/rewrite/spring-security-62.yml b/src/main/resources/META-INF/rewrite/spring-security-62.yml index 7447ee9f0..14e950e90 100644 --- a/src/main/resources/META-INF/rewrite/spring-security-62.yml +++ b/src/main/resources/META-INF/rewrite/spring-security-62.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_2 diff --git a/src/main/resources/META-INF/rewrite/spring-web-dependency.yml b/src/main/resources/META-INF/rewrite/spring-web-dependency.yml index c5f8f0562..d5bc9fd0b 100644 --- a/src/main/resources/META-INF/rewrite/spring-web-dependency.yml +++ b/src/main/resources/META-INF/rewrite/spring-web-dependency.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.spring.http.SpringWebDependency diff --git a/src/main/resources/META-INF/rewrite/springdoc.yml b/src/main/resources/META-INF/rewrite/springdoc.yml index cb0df6d0c..56c1283a3 100644 --- a/src/main/resources/META-INF/rewrite/springdoc.yml +++ b/src/main/resources/META-INF/rewrite/springdoc.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #
-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (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 +# https://docs.moderne.io/licensing/moderne-source-available-license #
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/TestPropertyValues.java b/src/main/resources/TestPropertyValues.java index f67e30500..6e45828ef 100644 --- a/src/main/resources/TestPropertyValues.java +++ b/src/main/resources/TestPropertyValues.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.springframework.boot.test.util; import org.jspecify.annotations.Nullable; diff --git a/src/test/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPluginTest.java b/src/test/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPluginTest.java index 812525643..c4b0641dc 100644 --- a/src/test/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPluginTest.java +++ b/src/test/java/org/openrewrite/gradle/spring/AddSpringDependencyManagementPluginTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/AddSpringPropertyTest.java b/src/test/java/org/openrewrite/java/spring/AddSpringPropertyTest.java index b07cee864..f7274bb1a 100644 --- a/src/test/java/org/openrewrite/java/spring/AddSpringPropertyTest.java +++ b/src/test/java/org/openrewrite/java/spring/AddSpringPropertyTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/ChangeMethodParameterTest.java b/src/test/java/org/openrewrite/java/spring/ChangeMethodParameterTest.java index c07226449..4f418cd14 100644 --- a/src/test/java/org/openrewrite/java/spring/ChangeMethodParameterTest.java +++ b/src/test/java/org/openrewrite/java/spring/ChangeMethodParameterTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyKeyTest.java b/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyKeyTest.java index 4456391d9..5ffd16d58 100644 --- a/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyKeyTest.java +++ b/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyKeyTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java b/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java index 5b7c4c835..b53305235 100644 --- a/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java +++ b/src/test/java/org/openrewrite/java/spring/ChangeSpringPropertyValueTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/CommentOutSpringPropertyKeyTest.java b/src/test/java/org/openrewrite/java/spring/CommentOutSpringPropertyKeyTest.java index ab27885b0..c86ecf73c 100644 --- a/src/test/java/org/openrewrite/java/spring/CommentOutSpringPropertyKeyTest.java +++ b/src/test/java/org/openrewrite/java/spring/CommentOutSpringPropertyKeyTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/DeleteSpringPropertyKeyTest.java b/src/test/java/org/openrewrite/java/spring/DeleteSpringPropertyKeyTest.java index 6d7c5d2e0..104cb9870 100644 --- a/src/test/java/org/openrewrite/java/spring/DeleteSpringPropertyKeyTest.java +++ b/src/test/java/org/openrewrite/java/spring/DeleteSpringPropertyKeyTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java b/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java index c423df152..0041ebee6 100644 --- a/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java +++ b/src/test/java/org/openrewrite/java/spring/RenameBeanTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionStringTest.java b/src/test/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionStringTest.java index 8144df77b..45f3ab128 100644 --- a/src/test/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionStringTest.java +++ b/src/test/java/org/openrewrite/java/spring/amqp/UseTlsAmqpConnectionStringTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java b/src/test/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java index afbc626ac..d1f43c7f2 100644 --- a/src/test/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java +++ b/src/test/java/org/openrewrite/java/spring/boot3/ReplaceMockBeanAndSpyBeanTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuthTest.java b/src/test/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuthTest.java index fefd5018a..bdc091884 100644 --- a/src/test/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuthTest.java +++ b/src/test/java/org/openrewrite/java/spring/cloud2022/AddLoggingPatternLevelForSleuthTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateCloudSleuthToMicrometerTracingTest.java b/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateCloudSleuthToMicrometerTracingTest.java index 1e1d6dee1..762779f08 100644 --- a/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateCloudSleuthToMicrometerTracingTest.java +++ b/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateCloudSleuthToMicrometerTracingTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateProjectTest.java b/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateProjectTest.java index 84b2eee78..29dbcca41 100644 --- a/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateProjectTest.java +++ b/src/test/java/org/openrewrite/java/spring/cloud2022/MigrateProjectTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptionalTest.java b/src/test/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptionalTest.java index d81161802..84ea1dd8c 100644 --- a/src/test/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptionalTest.java +++ b/src/test/java/org/openrewrite/java/spring/data/MigrateAuditorAwareToOptionalTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionStringTest.java b/src/test/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionStringTest.java index cca35f98f..a56e343e8 100644 --- a/src/test/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionStringTest.java +++ b/src/test/java/org/openrewrite/java/spring/data/UseTlsJdbcConnectionStringTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeoutTest.java b/src/test/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeoutTest.java index 3d8b5014f..1f11a5412 100644 --- a/src/test/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeoutTest.java +++ b/src/test/java/org/openrewrite/java/spring/framework/HttpComponentsClientHttpRequestFactoryReadTimeoutTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionTest.java b/src/test/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionTest.java index a7df3d607..6752b49a4 100644 --- a/src/test/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionTest.java +++ b/src/test/java/org/openrewrite/java/spring/framework/MigrateResponseStatusExceptionTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/framework/MigrateSpringAssertTest.java b/src/test/java/org/openrewrite/java/spring/framework/MigrateSpringAssertTest.java index 51d5cfee8..1a8de9f0d 100644 --- a/src/test/java/org/openrewrite/java/spring/framework/MigrateSpringAssertTest.java +++ b/src/test/java/org/openrewrite/java/spring/framework/MigrateSpringAssertTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCallsTest.java b/src/test/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCallsTest.java index 9c8785d5c..fc3bbfd60 100644 --- a/src/test/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCallsTest.java +++ b/src/test/java/org/openrewrite/java/spring/http/SimplifyMediaTypeParseCallsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCallsTest.java b/src/test/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCallsTest.java index dca05c62d..b447146d7 100644 --- a/src/test/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCallsTest.java +++ b/src/test/java/org/openrewrite/java/spring/http/SimplifyWebTestClientCallsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/internal/GeneratePropertiesMigratorConfiguration.java b/src/test/java/org/openrewrite/java/spring/internal/GeneratePropertiesMigratorConfiguration.java index e23770be4..55a909e7e 100644 --- a/src/test/java/org/openrewrite/java/spring/internal/GeneratePropertiesMigratorConfiguration.java +++ b/src/test/java/org/openrewrite/java/spring/internal/GeneratePropertiesMigratorConfiguration.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleases.java b/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleases.java index f6056b3d0..469bdf178 100644 --- a/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleases.java +++ b/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleases.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleasesTest.java b/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleasesTest.java index 56edec6bc..4fcf83d8c 100644 --- a/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleasesTest.java +++ b/src/test/java/org/openrewrite/java/spring/internal/SpringBootReleasesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnTypeTest.java b/src/test/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnTypeTest.java index 05d7ffcca..ae6c71af2 100644 --- a/src/test/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnTypeTest.java +++ b/src/test/java/org/openrewrite/java/spring/kafka/KafkaOperationsSendReturnTypeTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDurationTest.java b/src/test/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDurationTest.java index 2b0895dd2..cafe33df2 100644 --- a/src/test/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDurationTest.java +++ b/src/test/java/org/openrewrite/java/spring/kafka/KafkaTestUtilsDurationTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFutureTest.java b/src/test/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFutureTest.java index bdcc753b0..cbddd4e20 100644 --- a/src/test/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFutureTest.java +++ b/src/test/java/org/openrewrite/java/spring/kafka/RemoveUsingCompletableFutureTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtensionTest.java b/src/test/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtensionTest.java index 294b50ec2..1b405ad21 100644 --- a/src/test/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtensionTest.java +++ b/src/test/java/org/openrewrite/java/spring/test/SpringRulesToJUnitExtensionTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/trait/SpringBeanTest.java b/src/test/java/org/openrewrite/java/spring/trait/SpringBeanTest.java index 0b53a963b..1f93a8c81 100644 --- a/src/test/java/org/openrewrite/java/spring/trait/SpringBeanTest.java +++ b/src/test/java/org/openrewrite/java/spring/trait/SpringBeanTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocationTest.java b/src/test/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocationTest.java index 4da42dea6..7b33dab52 100644 --- a/src/test/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocationTest.java +++ b/src/test/java/org/openrewrite/java/spring/util/MemberReferenceToMethodInvocationTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitorTest.java b/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitorTest.java index c8d33c18a..56a1dd97f 100644 --- a/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitorTest.java +++ b/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableFutureCallbackToBiConsumerVisitorTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFutureTest.java b/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFutureTest.java index 51c0aee50..0c3af2d69 100644 --- a/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFutureTest.java +++ b/src/test/java/org/openrewrite/java/spring/util/concurrent/ListenableToCompletableFutureTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/springdoc/UpgradeSpringDoc2Test.java b/src/test/java/org/openrewrite/java/springdoc/UpgradeSpringDoc2Test.java index 1afc4c988..bb4715fc9 100644 --- a/src/test/java/org/openrewrite/java/springdoc/UpgradeSpringDoc2Test.java +++ b/src/test/java/org/openrewrite/java/springdoc/UpgradeSpringDoc2Test.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *
- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (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 + * https://docs.moderne.io/licensing/moderne-source-available-license *
* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/resources/logback.xml b/src/test/resources/logback.xml index b6dd99112..072dc7874 100644 --- a/src/test/resources/logback.xml +++ b/src/test/resources/logback.xml @@ -1,13 +1,13 @@