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 4c4e94adf..b52116b69 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ ### The first Static Analysis and _Remediation_ Tool. [![ci](https://github.com/openrewrite/rewrite-static-analysis/actions/workflows/ci.yml/badge.svg)](https://github.com/openrewrite/rewrite-static-analysis/actions/workflows/ci.yml) -[![Apache 2.0](https://img.shields.io/github/license/openrewrite/rewrite-static-analysis.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Maven Central](https://img.shields.io/maven-central/v/org.openrewrite.recipe/rewrite-static-analysis.svg)](https://mvnrepository.com/artifact/org.openrewrite.recipe/rewrite-static-analysis) [![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/staticanalysis/AddSerialAnnotationToSerialVersionUID.java b/src/main/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUID.java index 746399b09..fed16ecce 100644 --- a/src/main/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUID.java +++ b/src/main/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUID.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/staticanalysis/AddSerialVersionUidToSerializable.java b/src/main/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializable.java index 67e25a039..c4b34bf28 100644 --- a/src/main/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializable.java +++ b/src/main/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializable.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/staticanalysis/AnnotateNullableMethods.java b/src/main/java/org/openrewrite/staticanalysis/AnnotateNullableMethods.java index 019195363..67aa02bb5 100644 --- a/src/main/java/org/openrewrite/staticanalysis/AnnotateNullableMethods.java +++ b/src/main/java/org/openrewrite/staticanalysis/AnnotateNullableMethods.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/staticanalysis/AtomicPrimitiveEqualsUsesGet.java b/src/main/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGet.java index 77685dee4..510f209b9 100644 --- a/src/main/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGet.java +++ b/src/main/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGet.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/staticanalysis/AvoidBoxedBooleanExpressions.java b/src/main/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressions.java index 257ea9015..0b8210313 100644 --- a/src/main/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressions.java +++ b/src/main/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressions.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/staticanalysis/BigDecimalDoubleConstructor.java b/src/main/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructor.java index fc9288908..742479c95 100644 --- a/src/main/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructor.java +++ b/src/main/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructor.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/staticanalysis/BigDecimalRoundingConstantsToEnums.java b/src/main/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnums.java index fc79687c4..f148a9ad3 100644 --- a/src/main/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnums.java +++ b/src/main/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnums.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/staticanalysis/BooleanChecksNotInverted.java b/src/main/java/org/openrewrite/staticanalysis/BooleanChecksNotInverted.java index 66881993f..9d3ab2111 100644 --- a/src/main/java/org/openrewrite/staticanalysis/BooleanChecksNotInverted.java +++ b/src/main/java/org/openrewrite/staticanalysis/BooleanChecksNotInverted.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/staticanalysis/BufferedWriterCreation.java b/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java index 6d7552bf9..202911137 100644 --- a/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.java +++ b/src/main/java/org/openrewrite/staticanalysis/BufferedWriterCreation.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/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCase.java b/src/main/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCase.java index 8b2a16fd8..7dcd93563 100644 --- a/src/main/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCase.java +++ b/src/main/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCase.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/staticanalysis/CatchClauseOnlyRethrows.java b/src/main/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrows.java index d31a84a23..e00eef558 100755 --- a/src/main/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrows.java +++ b/src/main/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrows.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/staticanalysis/ChainStringBuilderAppendCalls.java b/src/main/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCalls.java index 911d39ffd..93330c796 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCalls.java +++ b/src/main/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCalls.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/staticanalysis/CombineSemanticallyEqualCatchBlocks.java b/src/main/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocks.java index ed9f3ed4d..c2f6a27b9 100644 --- a/src/main/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocks.java +++ b/src/main/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocks.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/staticanalysis/CompareEnumsWithEqualityOperator.java b/src/main/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperator.java index bc95d597c..f2c014375 100644 --- a/src/main/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperator.java +++ b/src/main/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperator.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/staticanalysis/ControlFlowIndentation.java b/src/main/java/org/openrewrite/staticanalysis/ControlFlowIndentation.java index c9d09fd45..56ba55a59 100755 --- a/src/main/java/org/openrewrite/staticanalysis/ControlFlowIndentation.java +++ b/src/main/java/org/openrewrite/staticanalysis/ControlFlowIndentation.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/staticanalysis/CovariantEquals.java b/src/main/java/org/openrewrite/staticanalysis/CovariantEquals.java index d69f309da..aa78eefb2 100644 --- a/src/main/java/org/openrewrite/staticanalysis/CovariantEquals.java +++ b/src/main/java/org/openrewrite/staticanalysis/CovariantEquals.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/staticanalysis/DeclarationSiteTypeVariance.java b/src/main/java/org/openrewrite/staticanalysis/DeclarationSiteTypeVariance.java index 127db40de..2ada79964 100644 --- a/src/main/java/org/openrewrite/staticanalysis/DeclarationSiteTypeVariance.java +++ b/src/main/java/org/openrewrite/staticanalysis/DeclarationSiteTypeVariance.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/staticanalysis/DefaultComesLast.java b/src/main/java/org/openrewrite/staticanalysis/DefaultComesLast.java index 4ab5bfbd2..b3f4b2be5 100644 --- a/src/main/java/org/openrewrite/staticanalysis/DefaultComesLast.java +++ b/src/main/java/org/openrewrite/staticanalysis/DefaultComesLast.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/staticanalysis/DefaultComesLastVisitor.java b/src/main/java/org/openrewrite/staticanalysis/DefaultComesLastVisitor.java index 4ee4fbb49..b41e94ce9 100644 --- a/src/main/java/org/openrewrite/staticanalysis/DefaultComesLastVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/DefaultComesLastVisitor.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/staticanalysis/EmptyBlock.java b/src/main/java/org/openrewrite/staticanalysis/EmptyBlock.java index 351d955f9..f8032a35a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/EmptyBlock.java +++ b/src/main/java/org/openrewrite/staticanalysis/EmptyBlock.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/staticanalysis/EmptyBlockVisitor.java b/src/main/java/org/openrewrite/staticanalysis/EmptyBlockVisitor.java index 5e9e744be..9d8526dca 100644 --- a/src/main/java/org/openrewrite/staticanalysis/EmptyBlockVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/EmptyBlockVisitor.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/staticanalysis/EqualsAvoidsNull.java b/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNull.java index bc7cc91ab..23c9f99e8 100644 --- a/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNull.java +++ b/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNull.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/staticanalysis/EqualsAvoidsNullVisitor.java b/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNullVisitor.java index 0f4762d7e..7925b86e3 100644 --- a/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNullVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/EqualsAvoidsNullVisitor.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/staticanalysis/EqualsToContentEquals.java b/src/main/java/org/openrewrite/staticanalysis/EqualsToContentEquals.java index e4fa2e74c..a1d25faac 100644 --- a/src/main/java/org/openrewrite/staticanalysis/EqualsToContentEquals.java +++ b/src/main/java/org/openrewrite/staticanalysis/EqualsToContentEquals.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/staticanalysis/ExplicitCharsetOnStringGetBytes.java b/src/main/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytes.java index e78c817ea..e1495c336 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytes.java +++ b/src/main/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytes.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/staticanalysis/ExplicitInitialization.java b/src/main/java/org/openrewrite/staticanalysis/ExplicitInitialization.java index 3f2db4102..2da9e69ae 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ExplicitInitialization.java +++ b/src/main/java/org/openrewrite/staticanalysis/ExplicitInitialization.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/staticanalysis/ExplicitInitializationVisitor.java b/src/main/java/org/openrewrite/staticanalysis/ExplicitInitializationVisitor.java index e04fd3cd9..85f2bac1f 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ExplicitInitializationVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/ExplicitInitializationVisitor.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/staticanalysis/ExplicitLambdaArgumentTypes.java b/src/main/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypes.java index 84d1eb922..a4a2661d7 100755 --- a/src/main/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypes.java +++ b/src/main/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypes.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/staticanalysis/ExternalizableHasNoArgsConstructor.java b/src/main/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgsConstructor.java index 2e3f278d1..35e1d7431 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgsConstructor.java +++ b/src/main/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgsConstructor.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/staticanalysis/FallThrough.java b/src/main/java/org/openrewrite/staticanalysis/FallThrough.java index 7a20d61f1..407a1a35d 100644 --- a/src/main/java/org/openrewrite/staticanalysis/FallThrough.java +++ b/src/main/java/org/openrewrite/staticanalysis/FallThrough.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/staticanalysis/FallThroughVisitor.java b/src/main/java/org/openrewrite/staticanalysis/FallThroughVisitor.java index fb29e0dd1..813ba1938 100644 --- a/src/main/java/org/openrewrite/staticanalysis/FallThroughVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/FallThroughVisitor.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/staticanalysis/FinalClass.java b/src/main/java/org/openrewrite/staticanalysis/FinalClass.java index a0d08973d..1eac6a1bb 100755 --- a/src/main/java/org/openrewrite/staticanalysis/FinalClass.java +++ b/src/main/java/org/openrewrite/staticanalysis/FinalClass.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/staticanalysis/FinalClassVisitor.java b/src/main/java/org/openrewrite/staticanalysis/FinalClassVisitor.java index ddab4312b..e123525c5 100755 --- a/src/main/java/org/openrewrite/staticanalysis/FinalClassVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/FinalClassVisitor.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/staticanalysis/FinalizeLocalVariables.java b/src/main/java/org/openrewrite/staticanalysis/FinalizeLocalVariables.java index c6ff0d9f7..6f7247eaa 100644 --- a/src/main/java/org/openrewrite/staticanalysis/FinalizeLocalVariables.java +++ b/src/main/java/org/openrewrite/staticanalysis/FinalizeLocalVariables.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/staticanalysis/FinalizeMethodArguments.java b/src/main/java/org/openrewrite/staticanalysis/FinalizeMethodArguments.java index 7e8c3adec..ee5af7366 100644 --- a/src/main/java/org/openrewrite/staticanalysis/FinalizeMethodArguments.java +++ b/src/main/java/org/openrewrite/staticanalysis/FinalizeMethodArguments.java @@ -1,13 +1,18 @@ -/** - * Copyright 2023 the original author or authors. +/* + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + * 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. - **/ + * 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.staticanalysis; import lombok.EqualsAndHashCode; diff --git a/src/main/java/org/openrewrite/staticanalysis/FinalizePrivateFields.java b/src/main/java/org/openrewrite/staticanalysis/FinalizePrivateFields.java index 45e9fd74e..ae7644da6 100644 --- a/src/main/java/org/openrewrite/staticanalysis/FinalizePrivateFields.java +++ b/src/main/java/org/openrewrite/staticanalysis/FinalizePrivateFields.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/staticanalysis/FixStringFormatExpressions.java b/src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.java index 2e5a484ec..be87cb8f7 100644 --- a/src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.java +++ b/src/main/java/org/openrewrite/staticanalysis/FixStringFormatExpressions.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/staticanalysis/ForLoopControlVariablePostfixOperators.java b/src/main/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperators.java index 34a146cac..27153e3b7 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperators.java +++ b/src/main/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperators.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/staticanalysis/ForLoopIncrementInUpdate.java b/src/main/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdate.java index 57f6370f1..39e767cb7 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdate.java +++ b/src/main/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdate.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/staticanalysis/HiddenField.java b/src/main/java/org/openrewrite/staticanalysis/HiddenField.java index 0d0a5459a..f2c349097 100644 --- a/src/main/java/org/openrewrite/staticanalysis/HiddenField.java +++ b/src/main/java/org/openrewrite/staticanalysis/HiddenField.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/staticanalysis/HiddenFieldVisitor.java b/src/main/java/org/openrewrite/staticanalysis/HiddenFieldVisitor.java index cfc8781c3..2781742c0 100644 --- a/src/main/java/org/openrewrite/staticanalysis/HiddenFieldVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/HiddenFieldVisitor.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/staticanalysis/HideUtilityClassConstructor.java b/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructor.java index 5a36b54fb..8707a4eae 100644 --- a/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructor.java +++ b/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructor.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/staticanalysis/HideUtilityClassConstructorVisitor.java b/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructorVisitor.java index 5205562b4..e1da0a1e3 100644 --- a/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructorVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/HideUtilityClassConstructorVisitor.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/staticanalysis/IndexOfChecksShouldUseAStartPosition.java b/src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.java index 230b7ee75..3133132ee 100644 --- a/src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.java +++ b/src/main/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPosition.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/staticanalysis/IndexOfReplaceableByContains.java b/src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.java index b82524241..46cb5f003 100644 --- a/src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.java +++ b/src/main/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContains.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/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java b/src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java index aa373c619..2047e96a7 100644 --- a/src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.java +++ b/src/main/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZero.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/staticanalysis/InlineVariable.java b/src/main/java/org/openrewrite/staticanalysis/InlineVariable.java index 5757f1c4f..10ce7fa0f 100644 --- a/src/main/java/org/openrewrite/staticanalysis/InlineVariable.java +++ b/src/main/java/org/openrewrite/staticanalysis/InlineVariable.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/staticanalysis/InstanceOfPatternMatch.java b/src/main/java/org/openrewrite/staticanalysis/InstanceOfPatternMatch.java index 5975d072b..70700e679 100644 --- a/src/main/java/org/openrewrite/staticanalysis/InstanceOfPatternMatch.java +++ b/src/main/java/org/openrewrite/staticanalysis/InstanceOfPatternMatch.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/staticanalysis/IsEmptyCallOnCollections.java b/src/main/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollections.java index 024f920ae..8a31787f2 100755 --- a/src/main/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollections.java +++ b/src/main/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollections.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/staticanalysis/JavaElementFactory.java b/src/main/java/org/openrewrite/staticanalysis/JavaElementFactory.java index 46bce8afd..e36592144 100644 --- a/src/main/java/org/openrewrite/staticanalysis/JavaElementFactory.java +++ b/src/main/java/org/openrewrite/staticanalysis/JavaElementFactory.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/staticanalysis/LambdaBlockToExpression.java b/src/main/java/org/openrewrite/staticanalysis/LambdaBlockToExpression.java index 4d33cd88b..4a16dd2ce 100644 --- a/src/main/java/org/openrewrite/staticanalysis/LambdaBlockToExpression.java +++ b/src/main/java/org/openrewrite/staticanalysis/LambdaBlockToExpression.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/staticanalysis/LowercasePackage.java b/src/main/java/org/openrewrite/staticanalysis/LowercasePackage.java index bc4ae4866..ee3ca787a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/LowercasePackage.java +++ b/src/main/java/org/openrewrite/staticanalysis/LowercasePackage.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/staticanalysis/MaskCreditCardNumbers.java b/src/main/java/org/openrewrite/staticanalysis/MaskCreditCardNumbers.java index 2743bc47f..3f84a9772 100644 --- a/src/main/java/org/openrewrite/staticanalysis/MaskCreditCardNumbers.java +++ b/src/main/java/org/openrewrite/staticanalysis/MaskCreditCardNumbers.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/staticanalysis/MethodNameCasing.java b/src/main/java/org/openrewrite/staticanalysis/MethodNameCasing.java index e564aae0c..96ce0ce38 100644 --- a/src/main/java/org/openrewrite/staticanalysis/MethodNameCasing.java +++ b/src/main/java/org/openrewrite/staticanalysis/MethodNameCasing.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/staticanalysis/MinimumSwitchCases.java b/src/main/java/org/openrewrite/staticanalysis/MinimumSwitchCases.java index 0016afb0c..b1791a662 100644 --- a/src/main/java/org/openrewrite/staticanalysis/MinimumSwitchCases.java +++ b/src/main/java/org/openrewrite/staticanalysis/MinimumSwitchCases.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/staticanalysis/MissingOverrideAnnotation.java b/src/main/java/org/openrewrite/staticanalysis/MissingOverrideAnnotation.java index 251cd9846..68e7b7179 100644 --- a/src/main/java/org/openrewrite/staticanalysis/MissingOverrideAnnotation.java +++ b/src/main/java/org/openrewrite/staticanalysis/MissingOverrideAnnotation.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/staticanalysis/ModifierOrder.java b/src/main/java/org/openrewrite/staticanalysis/ModifierOrder.java index 42205b0cf..5ea827951 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ModifierOrder.java +++ b/src/main/java/org/openrewrite/staticanalysis/ModifierOrder.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/staticanalysis/MultipleVariableDeclarations.java b/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarations.java index 25fa71320..7435b244c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarations.java +++ b/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarations.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/staticanalysis/MultipleVariableDeclarationsVisitor.java b/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarationsVisitor.java index 04f9b5d90..5543e349e 100644 --- a/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarationsVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/MultipleVariableDeclarationsVisitor.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/staticanalysis/NeedBraces.java b/src/main/java/org/openrewrite/staticanalysis/NeedBraces.java index 4302e2e40..4a8bb7d32 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NeedBraces.java +++ b/src/main/java/org/openrewrite/staticanalysis/NeedBraces.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/staticanalysis/NestedEnumsAreNotStatic.java b/src/main/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStatic.java index 67f315a67..fd622820b 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStatic.java +++ b/src/main/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStatic.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/staticanalysis/NewStringBuilderBufferWithCharArgument.java b/src/main/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgument.java index 55a341b71..1fe054bba 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgument.java +++ b/src/main/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgument.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/staticanalysis/NoDoubleBraceInitialization.java b/src/main/java/org/openrewrite/staticanalysis/NoDoubleBraceInitialization.java index aae4ebc67..729e50db3 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoDoubleBraceInitialization.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoDoubleBraceInitialization.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/staticanalysis/NoEmptyCollectionWithRawType.java b/src/main/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawType.java index 70c6a420b..1ba3092c4 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawType.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawType.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/staticanalysis/NoEqualityInForCondition.java b/src/main/java/org/openrewrite/staticanalysis/NoEqualityInForCondition.java index 2927c899a..c2b72c28a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoEqualityInForCondition.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoEqualityInForCondition.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/staticanalysis/NoFinalizedLocalVariables.java b/src/main/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariables.java index 353b04aef..c1d07b307 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariables.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariables.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/staticanalysis/NoFinalizer.java b/src/main/java/org/openrewrite/staticanalysis/NoFinalizer.java index a265a1de5..5ec7d9040 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoFinalizer.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoFinalizer.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/staticanalysis/NoPrimitiveWrappersForToStringOrCompareTo.java b/src/main/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareTo.java index 62cc54506..07587993e 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareTo.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareTo.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/staticanalysis/NoRedundantJumpStatements.java b/src/main/java/org/openrewrite/staticanalysis/NoRedundantJumpStatements.java index dfcf1b100..3c84c5c2c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoRedundantJumpStatements.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoRedundantJumpStatements.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/staticanalysis/NoToStringOnStringType.java b/src/main/java/org/openrewrite/staticanalysis/NoToStringOnStringType.java index b012fee96..833e0dccf 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoToStringOnStringType.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoToStringOnStringType.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/staticanalysis/NoValueOfOnStringType.java b/src/main/java/org/openrewrite/staticanalysis/NoValueOfOnStringType.java index d62fcaafb..e6baf4c7f 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NoValueOfOnStringType.java +++ b/src/main/java/org/openrewrite/staticanalysis/NoValueOfOnStringType.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/staticanalysis/NullableOnMethodReturnType.java b/src/main/java/org/openrewrite/staticanalysis/NullableOnMethodReturnType.java index b0eafde14..a105d94e4 100644 --- a/src/main/java/org/openrewrite/staticanalysis/NullableOnMethodReturnType.java +++ b/src/main/java/org/openrewrite/staticanalysis/NullableOnMethodReturnType.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/staticanalysis/ObjectFinalizeCallsSuper.java b/src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.java index e2cbaefc7..46b273c1a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.java +++ b/src/main/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuper.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/staticanalysis/OperatorWrap.java b/src/main/java/org/openrewrite/staticanalysis/OperatorWrap.java index 7dd83e4fb..9a2e18964 100755 --- a/src/main/java/org/openrewrite/staticanalysis/OperatorWrap.java +++ b/src/main/java/org/openrewrite/staticanalysis/OperatorWrap.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/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java b/src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java index 1372e9c75..f40293d04 100644 --- a/src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.java +++ b/src/main/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOf.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/staticanalysis/RedundantFileCreation.java b/src/main/java/org/openrewrite/staticanalysis/RedundantFileCreation.java index 1f8db0ba7..a9cfc00ee 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RedundantFileCreation.java +++ b/src/main/java/org/openrewrite/staticanalysis/RedundantFileCreation.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/staticanalysis/ReferentialEqualityToObjectEquals.java b/src/main/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEquals.java index 9db0dbf51..6ccb7db84 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEquals.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEquals.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/staticanalysis/RemoveCallsToObjectFinalize.java b/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalize.java index 6451b2ffc..ecb54f343 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalize.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalize.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/staticanalysis/RemoveCallsToSystemGc.java b/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGc.java index de297e84c..6c05adb4c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGc.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGc.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/staticanalysis/RemoveEmptyJavaDocParameters.java b/src/main/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParameters.java index 2d473f852..571030d1e 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParameters.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParameters.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/staticanalysis/RemoveExtraSemicolons.java b/src/main/java/org/openrewrite/staticanalysis/RemoveExtraSemicolons.java index df4489bd0..45d8c1e93 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveExtraSemicolons.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveExtraSemicolons.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/staticanalysis/RemoveHashCodeCallsFromArrayInstances.java b/src/main/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstances.java index 09f9bfdce..c32042282 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstances.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstances.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/staticanalysis/RemoveInstanceOfPatternMatch.java b/src/main/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatch.java index 3945d2129..99d4617ac 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatch.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatch.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/staticanalysis/RemoveJavaDocAuthorTag.java b/src/main/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTag.java index cdd6b2161..fe99e541a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTag.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTag.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/staticanalysis/RemoveRedundantTypeCast.java b/src/main/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCast.java index 1a53b8d60..b2adbfa5b 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCast.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCast.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/staticanalysis/RemoveSystemOutPrintln.java b/src/main/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintln.java index 2d8126e8e..04776e7fa 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintln.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintln.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/staticanalysis/RemoveToStringCallsFromArrayInstances.java b/src/main/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstances.java index 1b88c38cd..5bfa9806c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstances.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstances.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/staticanalysis/RemoveUnneededAssertion.java b/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededAssertion.java index 2103b03a9..05befc45f 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededAssertion.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededAssertion.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/staticanalysis/RemoveUnneededBlock.java b/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededBlock.java index f1b748b14..5f8620e04 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededBlock.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveUnneededBlock.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/staticanalysis/RemoveUnreachableCodeVisitor.java b/src/main/java/org/openrewrite/staticanalysis/RemoveUnreachableCodeVisitor.java index 4818ac532..d18d42543 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveUnreachableCodeVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveUnreachableCodeVisitor.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/staticanalysis/RemoveUnusedLocalVariables.java b/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariables.java index c915f0769..82c6ff045 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariables.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariables.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/staticanalysis/RemoveUnusedPrivateFields.java b/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFields.java index 842fcb5b8..115c5deba 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFields.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFields.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/staticanalysis/RemoveUnusedPrivateMethods.java b/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethods.java index 6549d3111..28f577ede 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethods.java +++ b/src/main/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethods.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/staticanalysis/RenameExceptionInEmptyCatch.java b/src/main/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatch.java index 68305db3e..32319027c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatch.java +++ b/src/main/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatch.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/staticanalysis/RenameLocalVariablesToCamelCase.java b/src/main/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCase.java index 5705a0ada..9a200a6ff 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCase.java +++ b/src/main/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCase.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/staticanalysis/RenameMethodsNamedHashcodeEqualOrToString.java b/src/main/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrToString.java index ece5adb94..2f9f0bf93 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrToString.java +++ b/src/main/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrToString.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/staticanalysis/RenamePrivateFieldsToCamelCase.java b/src/main/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCase.java index f508cafd7..c729e20c5 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCase.java +++ b/src/main/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCase.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/staticanalysis/RenameToCamelCase.java b/src/main/java/org/openrewrite/staticanalysis/RenameToCamelCase.java index 90c587470..5724948a3 100644 --- a/src/main/java/org/openrewrite/staticanalysis/RenameToCamelCase.java +++ b/src/main/java/org/openrewrite/staticanalysis/RenameToCamelCase.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/staticanalysis/ReplaceClassIsInstanceWithInstanceof.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceof.java index 49f95d8ac..ac151ef77 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceof.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceof.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/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArray.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArray.java index 56ab17863..5c14ef1df 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArray.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArray.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/staticanalysis/ReplaceDeprecatedRuntimeExecMethods.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethods.java index fb3e293db..7d014e592 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethods.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethods.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/staticanalysis/ReplaceDuplicateStringLiterals.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiterals.java index e4f5e371d..de62a8644 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiterals.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiterals.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/staticanalysis/ReplaceLambdaWithMethodReference.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReference.java index 3690ebb20..e0a5cde06 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReference.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReference.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/staticanalysis/ReplaceOptionalIsPresentWithIfPresent.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresent.java index 3a34e44fd..c2f3a8979 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresent.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresent.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/staticanalysis/ReplaceRedundantFormatWithPrintf.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintf.java index c5a9e0060..bb682691a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintf.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintf.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/staticanalysis/ReplaceStackWithDeque.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceStackWithDeque.java index 138b65bd6..b5ead8603 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceStackWithDeque.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceStackWithDeque.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/staticanalysis/ReplaceStreamToListWithCollect.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollect.java index 6083821c5..6d7ce2a5b 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollect.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollect.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/staticanalysis/ReplaceStringBuilderWithString.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithString.java index cd00bce7a..b2a0ffa04 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithString.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithString.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/staticanalysis/ReplaceTextBlockWithString.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithString.java index e477a6e68..936d70f9c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithString.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithString.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/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull.java index 5e269cebc..9dfbc3c29 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull.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/staticanalysis/ReplaceWeekYearWithYear.java b/src/main/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYear.java index cf6509fd5..9b2d604ed 100644 --- a/src/main/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYear.java +++ b/src/main/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYear.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/staticanalysis/SimplifyBooleanExpression.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanExpression.java index a8fb898fc..91b01de0c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanExpression.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanExpression.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/staticanalysis/SimplifyBooleanReturn.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanReturn.java index 9526ccc07..52b5be064 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanReturn.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyBooleanReturn.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/staticanalysis/SimplifyCompoundStatement.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundStatement.java index 29b325892..8e357f01a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundStatement.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundStatement.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/staticanalysis/SimplifyCompoundVisitor.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundVisitor.java index 380b1541a..7c9f52b92 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundVisitor.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyCompoundVisitor.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/staticanalysis/SimplifyConsecutiveAssignments.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignments.java index 0e4a10c86..6fcfc5c12 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignments.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignments.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/staticanalysis/SimplifyConstantIfBranchExecution.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecution.java index 6c921f251..5d3f4602e 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecution.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecution.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/staticanalysis/SimplifyDurationCreationUnits.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnits.java index 9b6d01aaa..62caaf66a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnits.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnits.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/staticanalysis/SimplifyTernary.java b/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java index 934fbca70..1ee205f9d 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.java +++ b/src/main/java/org/openrewrite/staticanalysis/SimplifyTernary.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/staticanalysis/SortedSetStreamToLinkedHashSet.java b/src/main/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSet.java index 490845b92..705fd0552 100644 --- a/src/main/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSet.java +++ b/src/main/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSet.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/staticanalysis/StaticMethodNotFinal.java b/src/main/java/org/openrewrite/staticanalysis/StaticMethodNotFinal.java index c2bd31b03..acdbcf41d 100644 --- a/src/main/java/org/openrewrite/staticanalysis/StaticMethodNotFinal.java +++ b/src/main/java/org/openrewrite/staticanalysis/StaticMethodNotFinal.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/staticanalysis/StringLiteralEquality.java b/src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.java index f9a427824..e9c9a044c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.java +++ b/src/main/java/org/openrewrite/staticanalysis/StringLiteralEquality.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/staticanalysis/TernaryOperatorsShouldNotBeNested.java b/src/main/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNested.java index 82d15c064..18b7da57e 100644 --- a/src/main/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNested.java +++ b/src/main/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNested.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/staticanalysis/TypecastParenPad.java b/src/main/java/org/openrewrite/staticanalysis/TypecastParenPad.java index 41b2cf9b4..320d8d4e4 100755 --- a/src/main/java/org/openrewrite/staticanalysis/TypecastParenPad.java +++ b/src/main/java/org/openrewrite/staticanalysis/TypecastParenPad.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/staticanalysis/URLEqualsHashCode.java b/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java index 26554e923..ed4fa55dc 100644 --- a/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.java +++ b/src/main/java/org/openrewrite/staticanalysis/URLEqualsHashCode.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/staticanalysis/UnnecessaryCatch.java b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCatch.java index 925a2d4a6..6fc82c854 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCatch.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCatch.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/staticanalysis/UnnecessaryCloseInTryWithResources.java b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResources.java index 7bfd0fb7b..acb045311 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResources.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResources.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/staticanalysis/UnnecessaryExplicitTypeArguments.java b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArguments.java index 90affc4ac..90c49cb36 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArguments.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArguments.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/staticanalysis/UnnecessaryParentheses.java b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryParentheses.java index a2f50d1e1..9721c1ac2 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnnecessaryParentheses.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryParentheses.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/staticanalysis/UnnecessaryPrimitiveAnnotations.java b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotations.java index 31b839a05..50457bdc6 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotations.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotations.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/staticanalysis/UnnecessaryReturnAsLastStatement.java b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatement.java index cf2e8151c..dd620f74c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatement.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatement.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/staticanalysis/UnnecessaryThrows.java b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryThrows.java index 4cf7f844e..f57de2f12 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnnecessaryThrows.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnnecessaryThrows.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/staticanalysis/UnwrapRepeatableAnnotations.java b/src/main/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotations.java index 32818e4bd..3f5b835f2 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotations.java +++ b/src/main/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotations.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/staticanalysis/UpperCaseLiteralSuffixes.java b/src/main/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixes.java index 581a45deb..676bfdb67 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixes.java +++ b/src/main/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixes.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/staticanalysis/UseAsBuilder.java b/src/main/java/org/openrewrite/staticanalysis/UseAsBuilder.java index 681361baa..5abbf9c76 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseAsBuilder.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseAsBuilder.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/staticanalysis/UseCollectionInterfaces.java b/src/main/java/org/openrewrite/staticanalysis/UseCollectionInterfaces.java index 99c55fd44..6c2d16c3d 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseCollectionInterfaces.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseCollectionInterfaces.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/staticanalysis/UseDiamondOperator.java b/src/main/java/org/openrewrite/staticanalysis/UseDiamondOperator.java index 1302e9ecf..9b1f81589 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseDiamondOperator.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseDiamondOperator.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/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAll.java b/src/main/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAll.java index 91bd4ba86..1584fb67a 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAll.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAll.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/staticanalysis/UseJavaStyleArrayDeclarations.java b/src/main/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarations.java index b9e0caa80..70eab0424 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarations.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarations.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/staticanalysis/UseLambdaForFunctionalInterface.java b/src/main/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterface.java index 7ea4aa90b..d5213d062 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterface.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterface.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/staticanalysis/UseListSort.java b/src/main/java/org/openrewrite/staticanalysis/UseListSort.java index d0ce878d6..c1164e6ac 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseListSort.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseListSort.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/staticanalysis/UseObjectNotifyAll.java b/src/main/java/org/openrewrite/staticanalysis/UseObjectNotifyAll.java index c1b1df39a..06a1ffd20 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseObjectNotifyAll.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseObjectNotifyAll.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/staticanalysis/UseStandardCharset.java b/src/main/java/org/openrewrite/staticanalysis/UseStandardCharset.java index 934b8fc5d..db64ca9b8 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseStandardCharset.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseStandardCharset.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/staticanalysis/UseStringReplace.java b/src/main/java/org/openrewrite/staticanalysis/UseStringReplace.java index ee21d9ace..b12c0a70f 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseStringReplace.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseStringReplace.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/staticanalysis/UseSystemLineSeparator.java b/src/main/java/org/openrewrite/staticanalysis/UseSystemLineSeparator.java index 7e1e2e8ce..fe2cf9680 100644 --- a/src/main/java/org/openrewrite/staticanalysis/UseSystemLineSeparator.java +++ b/src/main/java/org/openrewrite/staticanalysis/UseSystemLineSeparator.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/staticanalysis/VariableReferences.java b/src/main/java/org/openrewrite/staticanalysis/VariableReferences.java index 8dfbfe565..416a27445 100644 --- a/src/main/java/org/openrewrite/staticanalysis/VariableReferences.java +++ b/src/main/java/org/openrewrite/staticanalysis/VariableReferences.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/staticanalysis/WhileInsteadOfFor.java b/src/main/java/org/openrewrite/staticanalysis/WhileInsteadOfFor.java index b305e5f3c..c20d0c823 100644 --- a/src/main/java/org/openrewrite/staticanalysis/WhileInsteadOfFor.java +++ b/src/main/java/org/openrewrite/staticanalysis/WhileInsteadOfFor.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/staticanalysis/WriteOctalValuesAsDecimal.java b/src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.java index f92d0db19..f823b2fde 100644 --- a/src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.java +++ b/src/main/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimal.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/staticanalysis/csharp/CSharpFileChecker.java b/src/main/java/org/openrewrite/staticanalysis/csharp/CSharpFileChecker.java index 0e9ec85a5..b482eb9cc 100644 --- a/src/main/java/org/openrewrite/staticanalysis/csharp/CSharpFileChecker.java +++ b/src/main/java/org/openrewrite/staticanalysis/csharp/CSharpFileChecker.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/staticanalysis/groovy/GroovyFileChecker.java b/src/main/java/org/openrewrite/staticanalysis/groovy/GroovyFileChecker.java index acfe60807..6782c32f3 100644 --- a/src/main/java/org/openrewrite/staticanalysis/groovy/GroovyFileChecker.java +++ b/src/main/java/org/openrewrite/staticanalysis/groovy/GroovyFileChecker.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/staticanalysis/java/JavaFileChecker.java b/src/main/java/org/openrewrite/staticanalysis/java/JavaFileChecker.java index e7e05a8c7..fa2ebf36c 100644 --- a/src/main/java/org/openrewrite/staticanalysis/java/JavaFileChecker.java +++ b/src/main/java/org/openrewrite/staticanalysis/java/JavaFileChecker.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/staticanalysis/java/MoveFieldAnnotationToType.java b/src/main/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToType.java index 03159eeac..9ee23fe02 100644 --- a/src/main/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToType.java +++ b/src/main/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToType.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/staticanalysis/java/package-info.java b/src/main/java/org/openrewrite/staticanalysis/java/package-info.java index 8e6b6aca0..34b551e6f 100644 --- a/src/main/java/org/openrewrite/staticanalysis/java/package-info.java +++ b/src/main/java/org/openrewrite/staticanalysis/java/package-info.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/staticanalysis/kotlin/KotlinFileChecker.java b/src/main/java/org/openrewrite/staticanalysis/kotlin/KotlinFileChecker.java index ccecc2edc..880b11115 100644 --- a/src/main/java/org/openrewrite/staticanalysis/kotlin/KotlinFileChecker.java +++ b/src/main/java/org/openrewrite/staticanalysis/kotlin/KotlinFileChecker.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/staticanalysis/package-info.java b/src/main/java/org/openrewrite/staticanalysis/package-info.java index 2ffda05b2..ffa8b0632 100644 --- a/src/main/java/org/openrewrite/staticanalysis/package-info.java +++ b/src/main/java/org/openrewrite/staticanalysis/package-info.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/resources/META-INF/rewrite/category.yml b/src/main/resources/META-INF/rewrite/category.yml index a22b41f3a..40df35507 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: Static analysis and remediation diff --git a/src/main/resources/META-INF/rewrite/common-static-analysis.yml b/src/main/resources/META-INF/rewrite/common-static-analysis.yml index 8bf41d6ee..c1cbb5417 100644 --- a/src/main/resources/META-INF/rewrite/common-static-analysis.yml +++ b/src/main/resources/META-INF/rewrite/common-static-analysis.yml @@ -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,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.staticanalysis.CommonStaticAnalysis diff --git a/src/main/resources/META-INF/rewrite/java-best-practices.yml b/src/main/resources/META-INF/rewrite/java-best-practices.yml index cbc3a70f8..088184619 100644 --- a/src/main/resources/META-INF/rewrite/java-best-practices.yml +++ b/src/main/resources/META-INF/rewrite/java-best-practices.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.staticanalysis.JavaApiBestPractices diff --git a/src/main/resources/META-INF/rewrite/static-analysis.yml b/src/main/resources/META-INF/rewrite/static-analysis.yml index 17fb80e51..2a77515b2 100644 --- a/src/main/resources/META-INF/rewrite/static-analysis.yml +++ b/src/main/resources/META-INF/rewrite/static-analysis.yml @@ -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,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.staticanalysis.CodeCleanup diff --git a/src/test/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUIDTest.java b/src/test/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUIDTest.java index cb3beed75..9538f033e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUIDTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/AddSerialAnnotationToSerialVersionUIDTest.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/staticanalysis/AddSerialVersionUidToSerializableTest.java b/src/test/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializableTest.java index 696f00248..7e131ebc9 100644 --- a/src/test/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializableTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/AddSerialVersionUidToSerializableTest.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/staticanalysis/AnnotateNullableMethodsTest.java b/src/test/java/org/openrewrite/staticanalysis/AnnotateNullableMethodsTest.java index 41bc3248b..7ffdacc90 100644 --- a/src/test/java/org/openrewrite/staticanalysis/AnnotateNullableMethodsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/AnnotateNullableMethodsTest.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/staticanalysis/AtomicPrimitiveEqualsUsesGetTest.java b/src/test/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGetTest.java index cab92333a..ce15da0e4 100644 --- a/src/test/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGetTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/AtomicPrimitiveEqualsUsesGetTest.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/staticanalysis/AvoidBoxedBooleanExpressionsTest.java b/src/test/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressionsTest.java index 8952cfe4d..dfda8575d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressionsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/AvoidBoxedBooleanExpressionsTest.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/test/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructorTest.java b/src/test/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructorTest.java index 508b68fb0..1bf288ab9 100644 --- a/src/test/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructorTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/BigDecimalDoubleConstructorTest.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/staticanalysis/BigDecimalRoundingConstantsToEnumsTest.java b/src/test/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnumsTest.java index 5f431b672..0b5478b87 100644 --- a/src/test/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnumsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/BigDecimalRoundingConstantsToEnumsTest.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/test/java/org/openrewrite/staticanalysis/BooleanChecksNotInvertedTest.java b/src/test/java/org/openrewrite/staticanalysis/BooleanChecksNotInvertedTest.java index e160e08ef..78a9e870b 100644 --- a/src/test/java/org/openrewrite/staticanalysis/BooleanChecksNotInvertedTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/BooleanChecksNotInvertedTest.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/staticanalysis/BufferedWriterCreationTest.java b/src/test/java/org/openrewrite/staticanalysis/BufferedWriterCreationTest.java index b1f560f71..49e0c3c40 100644 --- a/src/test/java/org/openrewrite/staticanalysis/BufferedWriterCreationTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/BufferedWriterCreationTest.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/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCaseTest.java b/src/test/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCaseTest.java index 7e5a7cd01..e33deabce 100644 --- a/src/test/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCaseTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/CaseInsensitiveComparisonsDoNotChangeCaseTest.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/staticanalysis/CatchClauseOnlyRethrowsTest.java b/src/test/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrowsTest.java index 6fdacceeb..46990490f 100755 --- a/src/test/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrowsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/CatchClauseOnlyRethrowsTest.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/staticanalysis/ChainStringBuilderAppendCallsTest.java b/src/test/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCallsTest.java index a57b908df..76461dce3 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCallsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ChainStringBuilderAppendCallsTest.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/staticanalysis/CombineSemanticallyEqualCatchBlocksTest.java b/src/test/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocksTest.java index 93f3af54f..6c2312419 100755 --- a/src/test/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocksTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/CombineSemanticallyEqualCatchBlocksTest.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/test/java/org/openrewrite/staticanalysis/CommonStaticAnalysisIssuesPerformanceTest.java b/src/test/java/org/openrewrite/staticanalysis/CommonStaticAnalysisIssuesPerformanceTest.java index f4bffd037..26b07f34b 100644 --- a/src/test/java/org/openrewrite/staticanalysis/CommonStaticAnalysisIssuesPerformanceTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/CommonStaticAnalysisIssuesPerformanceTest.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/test/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperatorTest.java b/src/test/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperatorTest.java index ab31eb487..015a8f5cf 100644 --- a/src/test/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperatorTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/CompareEnumsWithEqualityOperatorTest.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/staticanalysis/ControlFlowIndentationTest.java b/src/test/java/org/openrewrite/staticanalysis/ControlFlowIndentationTest.java index dd747e36b..bd48d5037 100755 --- a/src/test/java/org/openrewrite/staticanalysis/ControlFlowIndentationTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ControlFlowIndentationTest.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/staticanalysis/CovariantEqualsTest.java b/src/test/java/org/openrewrite/staticanalysis/CovariantEqualsTest.java index d606f3104..3cb39bf64 100644 --- a/src/test/java/org/openrewrite/staticanalysis/CovariantEqualsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/CovariantEqualsTest.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/test/java/org/openrewrite/staticanalysis/DeclarationSiteTypeVarianceTest.java b/src/test/java/org/openrewrite/staticanalysis/DeclarationSiteTypeVarianceTest.java index 398e52f69..38f7fad60 100644 --- a/src/test/java/org/openrewrite/staticanalysis/DeclarationSiteTypeVarianceTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/DeclarationSiteTypeVarianceTest.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/test/java/org/openrewrite/staticanalysis/DefaultComesLastTest.java b/src/test/java/org/openrewrite/staticanalysis/DefaultComesLastTest.java index f51ca4fda..16bd19388 100644 --- a/src/test/java/org/openrewrite/staticanalysis/DefaultComesLastTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/DefaultComesLastTest.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/test/java/org/openrewrite/staticanalysis/EmptyBlockTest.java b/src/test/java/org/openrewrite/staticanalysis/EmptyBlockTest.java index df55421f0..eb340072e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/EmptyBlockTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/EmptyBlockTest.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openrewrite.staticanalysis; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/openrewrite/staticanalysis/EqualsAvoidsNullTest.java b/src/test/java/org/openrewrite/staticanalysis/EqualsAvoidsNullTest.java index 60e0fb456..2981ffe31 100644 --- a/src/test/java/org/openrewrite/staticanalysis/EqualsAvoidsNullTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/EqualsAvoidsNullTest.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/test/java/org/openrewrite/staticanalysis/EqualsToContentEqualsTest.java b/src/test/java/org/openrewrite/staticanalysis/EqualsToContentEqualsTest.java index 118316316..2b75ca59d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/EqualsToContentEqualsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/EqualsToContentEqualsTest.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/staticanalysis/ExplicitCharsetOnStringGetBytesTest.java b/src/test/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytesTest.java index d82c4453f..66770dab2 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ExplicitCharsetOnStringGetBytesTest.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/test/java/org/openrewrite/staticanalysis/ExplicitInitializationTest.java b/src/test/java/org/openrewrite/staticanalysis/ExplicitInitializationTest.java index d7126fa51..3f9b76184 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ExplicitInitializationTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ExplicitInitializationTest.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/test/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypesTest.java b/src/test/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypesTest.java index 9b37f3a62..eda371126 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ExplicitLambdaArgumentTypesTest.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/staticanalysis/ExternalizableHasNoArgConstructorTest.java b/src/test/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgConstructorTest.java index d0061c24e..dd657b88c 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgConstructorTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ExternalizableHasNoArgConstructorTest.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/staticanalysis/FallThroughTest.java b/src/test/java/org/openrewrite/staticanalysis/FallThroughTest.java index 551f249a4..bc1236cfd 100644 --- a/src/test/java/org/openrewrite/staticanalysis/FallThroughTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/FallThroughTest.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/test/java/org/openrewrite/staticanalysis/FinalClassTest.java b/src/test/java/org/openrewrite/staticanalysis/FinalClassTest.java index 91288a135..413162dd9 100755 --- a/src/test/java/org/openrewrite/staticanalysis/FinalClassTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/FinalClassTest.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/staticanalysis/FinalizeLocalVariablesTest.java b/src/test/java/org/openrewrite/staticanalysis/FinalizeLocalVariablesTest.java index fc396d2c3..8fb8bf3b9 100644 --- a/src/test/java/org/openrewrite/staticanalysis/FinalizeLocalVariablesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/FinalizeLocalVariablesTest.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/test/java/org/openrewrite/staticanalysis/FinalizeMethodArgumentsTest.java b/src/test/java/org/openrewrite/staticanalysis/FinalizeMethodArgumentsTest.java index 33982ae33..e21202f88 100644 --- a/src/test/java/org/openrewrite/staticanalysis/FinalizeMethodArgumentsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/FinalizeMethodArgumentsTest.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/staticanalysis/FinalizePrivateFieldsTest.java b/src/test/java/org/openrewrite/staticanalysis/FinalizePrivateFieldsTest.java index b81f2a24b..47ffc788c 100644 --- a/src/test/java/org/openrewrite/staticanalysis/FinalizePrivateFieldsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/FinalizePrivateFieldsTest.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/test/java/org/openrewrite/staticanalysis/FixStringFormatExpressionsTest.java b/src/test/java/org/openrewrite/staticanalysis/FixStringFormatExpressionsTest.java index 33e08cd36..2b3a194ae 100644 --- a/src/test/java/org/openrewrite/staticanalysis/FixStringFormatExpressionsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/FixStringFormatExpressionsTest.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/test/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperatorsTest.java b/src/test/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperatorsTest.java index e12f5f8c2..7887b02d8 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperatorsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ForLoopControlVariablePostfixOperatorsTest.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/staticanalysis/ForLoopIncrementInUpdateTest.java b/src/test/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdateTest.java index 1f75184d1..c0ab5b2f0 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdateTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ForLoopIncrementInUpdateTest.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/staticanalysis/HiddenFieldTest.java b/src/test/java/org/openrewrite/staticanalysis/HiddenFieldTest.java index 976a44e8f..3808b3952 100644 --- a/src/test/java/org/openrewrite/staticanalysis/HiddenFieldTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/HiddenFieldTest.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.openrewrite.staticanalysis; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/openrewrite/staticanalysis/HideUtilityClassConstructorTest.java b/src/test/java/org/openrewrite/staticanalysis/HideUtilityClassConstructorTest.java index 2c0e808c2..b9e180f87 100644 --- a/src/test/java/org/openrewrite/staticanalysis/HideUtilityClassConstructorTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/HideUtilityClassConstructorTest.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/test/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPositionTest.java b/src/test/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPositionTest.java index 21a6202ed..4687cd954 100644 --- a/src/test/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPositionTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/IndexOfChecksShouldUseAStartPositionTest.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/staticanalysis/IndexOfReplaceableByContainsTest.java b/src/test/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContainsTest.java index 90fbe2e59..f6d3975bd 100644 --- a/src/test/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContainsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/IndexOfReplaceableByContainsTest.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/staticanalysis/IndexOfShouldNotCompareGreaterThanZeroTest.java b/src/test/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZeroTest.java index 6b2c40db3..9ca2c1c2e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZeroTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/IndexOfShouldNotCompareGreaterThanZeroTest.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/staticanalysis/InlineVariableTest.java b/src/test/java/org/openrewrite/staticanalysis/InlineVariableTest.java index cbc71e330..74dc45d21 100644 --- a/src/test/java/org/openrewrite/staticanalysis/InlineVariableTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/InlineVariableTest.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/test/java/org/openrewrite/staticanalysis/InstanceOfPatternMatchTest.java b/src/test/java/org/openrewrite/staticanalysis/InstanceOfPatternMatchTest.java index 4eaee8b51..784c1e946 100644 --- a/src/test/java/org/openrewrite/staticanalysis/InstanceOfPatternMatchTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/InstanceOfPatternMatchTest.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/staticanalysis/IsEmptyCallOnCollectionsTest.java b/src/test/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollectionsTest.java index 2f952cb56..944be3d74 100644 --- a/src/test/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollectionsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/IsEmptyCallOnCollectionsTest.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/staticanalysis/JavaElementFactoryTest.java b/src/test/java/org/openrewrite/staticanalysis/JavaElementFactoryTest.java index a15981647..224973632 100644 --- a/src/test/java/org/openrewrite/staticanalysis/JavaElementFactoryTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/JavaElementFactoryTest.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/staticanalysis/LambdaBlockToExpressionTest.java b/src/test/java/org/openrewrite/staticanalysis/LambdaBlockToExpressionTest.java index b6d20273d..787269646 100644 --- a/src/test/java/org/openrewrite/staticanalysis/LambdaBlockToExpressionTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/LambdaBlockToExpressionTest.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/staticanalysis/LowercasePackageTest.java b/src/test/java/org/openrewrite/staticanalysis/LowercasePackageTest.java index 1082be30e..7ed08c872 100644 --- a/src/test/java/org/openrewrite/staticanalysis/LowercasePackageTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/LowercasePackageTest.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/test/java/org/openrewrite/staticanalysis/MaskCreditCardNumbersTest.java b/src/test/java/org/openrewrite/staticanalysis/MaskCreditCardNumbersTest.java index c6368a680..bf79808d9 100644 --- a/src/test/java/org/openrewrite/staticanalysis/MaskCreditCardNumbersTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/MaskCreditCardNumbersTest.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/staticanalysis/MethodNameCasingTest.java b/src/test/java/org/openrewrite/staticanalysis/MethodNameCasingTest.java index d9153bc56..86c734572 100644 --- a/src/test/java/org/openrewrite/staticanalysis/MethodNameCasingTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/MethodNameCasingTest.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/staticanalysis/MinimumSwitchCasesTest.java b/src/test/java/org/openrewrite/staticanalysis/MinimumSwitchCasesTest.java index bb829cff1..0c9bae280 100644 --- a/src/test/java/org/openrewrite/staticanalysis/MinimumSwitchCasesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/MinimumSwitchCasesTest.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/staticanalysis/MissingOverrideAnnotationTest.java b/src/test/java/org/openrewrite/staticanalysis/MissingOverrideAnnotationTest.java index 535d5fb37..4d8f2d004 100644 --- a/src/test/java/org/openrewrite/staticanalysis/MissingOverrideAnnotationTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/MissingOverrideAnnotationTest.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/staticanalysis/ModifierOrderTest.java b/src/test/java/org/openrewrite/staticanalysis/ModifierOrderTest.java index edd76a057..78251c1fd 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ModifierOrderTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ModifierOrderTest.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/staticanalysis/MultipleVariableDeclarationsTest.java b/src/test/java/org/openrewrite/staticanalysis/MultipleVariableDeclarationsTest.java index 926b89d01..743c490a3 100644 --- a/src/test/java/org/openrewrite/staticanalysis/MultipleVariableDeclarationsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/MultipleVariableDeclarationsTest.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/staticanalysis/NeedBracesTest.java b/src/test/java/org/openrewrite/staticanalysis/NeedBracesTest.java index 59bb36013..bcf912c7b 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NeedBracesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NeedBracesTest.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/staticanalysis/NestedEnumsAreNotStaticTest.java b/src/test/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStaticTest.java index e5059771a..e7cd3138f 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStaticTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NestedEnumsAreNotStaticTest.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/staticanalysis/NewStringBuilderBufferWithCharArgumentTest.java b/src/test/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgumentTest.java index ba8e46582..7585fa979 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgumentTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NewStringBuilderBufferWithCharArgumentTest.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/staticanalysis/NoDoubleBraceInitializationTest.java b/src/test/java/org/openrewrite/staticanalysis/NoDoubleBraceInitializationTest.java index c1bf025e7..483dce3e5 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoDoubleBraceInitializationTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoDoubleBraceInitializationTest.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/staticanalysis/NoEmptyCollectionWithRawTypeTest.java b/src/test/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawTypeTest.java index 1709df9a8..ea43f8d8e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawTypeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoEmptyCollectionWithRawTypeTest.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/staticanalysis/NoEqualityInForConditionTest.java b/src/test/java/org/openrewrite/staticanalysis/NoEqualityInForConditionTest.java index c5c0fc801..94533a117 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoEqualityInForConditionTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoEqualityInForConditionTest.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/staticanalysis/NoFinalizedLocalVariablesTest.java b/src/test/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariablesTest.java index 076a7ffc6..d1300c1ea 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariablesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoFinalizedLocalVariablesTest.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/staticanalysis/NoFinalizerTest.java b/src/test/java/org/openrewrite/staticanalysis/NoFinalizerTest.java index 51656ca06..125987e95 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoFinalizerTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoFinalizerTest.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/staticanalysis/NoPrimitiveWrappersForToStringOrCompareToTest.java b/src/test/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareToTest.java index 6a65933f2..0d2c21387 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareToTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoPrimitiveWrappersForToStringOrCompareToTest.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/staticanalysis/NoRedundantJumpStatementsTest.java b/src/test/java/org/openrewrite/staticanalysis/NoRedundantJumpStatementsTest.java index 934aa1c58..1dd93c077 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoRedundantJumpStatementsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoRedundantJumpStatementsTest.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/staticanalysis/NoToStringOnStringTypeTest.java b/src/test/java/org/openrewrite/staticanalysis/NoToStringOnStringTypeTest.java index f968f9653..b3e0ddcd9 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoToStringOnStringTypeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoToStringOnStringTypeTest.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/staticanalysis/NoValueOfOnStringTypeTest.java b/src/test/java/org/openrewrite/staticanalysis/NoValueOfOnStringTypeTest.java index b3cbf46d9..d23f76d66 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NoValueOfOnStringTypeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NoValueOfOnStringTypeTest.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/staticanalysis/NullableOnMethodReturnTypeTest.java b/src/test/java/org/openrewrite/staticanalysis/NullableOnMethodReturnTypeTest.java index 8fec2e882..e662da918 100644 --- a/src/test/java/org/openrewrite/staticanalysis/NullableOnMethodReturnTypeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/NullableOnMethodReturnTypeTest.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/staticanalysis/ObjectFinalizeCallsSuperTest.java b/src/test/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuperTest.java index 1501dd029..5f84aae76 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuperTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ObjectFinalizeCallsSuperTest.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/test/java/org/openrewrite/staticanalysis/OperatorWrapTest.java b/src/test/java/org/openrewrite/staticanalysis/OperatorWrapTest.java index 97e6d88aa..966822a63 100644 --- a/src/test/java/org/openrewrite/staticanalysis/OperatorWrapTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/OperatorWrapTest.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/staticanalysis/PrimitiveWrapperClassConstructorToValueOfTest.java b/src/test/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOfTest.java index c50233a89..5eeeac375 100644 --- a/src/test/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOfTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/PrimitiveWrapperClassConstructorToValueOfTest.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/test/java/org/openrewrite/staticanalysis/RedundantFileCreationTest.java b/src/test/java/org/openrewrite/staticanalysis/RedundantFileCreationTest.java index 5ee3c8825..4ce0e18b7 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RedundantFileCreationTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RedundantFileCreationTest.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/staticanalysis/ReferentialEqualityToObjectEqualsTest.java b/src/test/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEqualsTest.java index 854b3fc30..ec3f54d80 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEqualsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReferentialEqualityToObjectEqualsTest.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/test/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalizeTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalizeTest.java index f581356ad..228e8c109 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalizeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveCallsToObjectFinalizeTest.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/staticanalysis/RemoveCallsToSystemGcTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGcTest.java index 23df4f16d..8918cc07e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGcTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveCallsToSystemGcTest.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/test/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParametersTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParametersTest.java index ffc761332..d27213529 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParametersTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveEmptyJavaDocParametersTest.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openrewrite.staticanalysis; import org.junit.jupiter.api.Nested; diff --git a/src/test/java/org/openrewrite/staticanalysis/RemoveExtraSemicolonsTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveExtraSemicolonsTest.java index e92110296..1de29550e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveExtraSemicolonsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveExtraSemicolonsTest.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/staticanalysis/RemoveHashCodeCallsFromArrayInstancesTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstancesTest.java index 9daf23dc1..a9766793d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstancesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveHashCodeCallsFromArrayInstancesTest.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/staticanalysis/RemoveInstanceOfPatternMatchTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatchTest.java index daf2c390d..909b668d5 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatchTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveInstanceOfPatternMatchTest.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/staticanalysis/RemoveJavaDocAuthorTagTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTagTest.java index 91fbd48a3..1df57fa32 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTagTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveJavaDocAuthorTagTest.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/test/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCastTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCastTest.java index 3a518a6fc..4c5c8402e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCastTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveRedundantTypeCastTest.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/test/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintlnTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintlnTest.java index 5de77314c..7200990f6 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintlnTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveSystemOutPrintlnTest.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/staticanalysis/RemoveToStringCallsFromArrayInstancesTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstancesTest.java index 8053a052c..a03483cb6 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstancesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveToStringCallsFromArrayInstancesTest.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/staticanalysis/RemoveUnneededAssertionTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveUnneededAssertionTest.java index a8e070be1..c8607746d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveUnneededAssertionTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveUnneededAssertionTest.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/test/java/org/openrewrite/staticanalysis/RemoveUnneededBlockTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveUnneededBlockTest.java index 88cdef6e3..d05e43f7b 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveUnneededBlockTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveUnneededBlockTest.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/test/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariablesTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariablesTest.java index 9aa093a2a..9397d7493 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariablesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedLocalVariablesTest.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/staticanalysis/RemoveUnusedPrivateFieldsTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFieldsTest.java index 435daa72b..8ce86dd96 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFieldsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateFieldsTest.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/test/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethodsTest.java b/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethodsTest.java index c98b33897..a9da498b7 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethodsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RemoveUnusedPrivateMethodsTest.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/staticanalysis/RenameExceptionInEmptyCatchTest.java b/src/test/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatchTest.java index 51593f6a2..753c1a30a 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatchTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RenameExceptionInEmptyCatchTest.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/test/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCaseTest.java b/src/test/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCaseTest.java index 5b3028e42..aac2c2942 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCaseTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RenameLocalVariablesToCamelCaseTest.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/test/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrTostringTest.java b/src/test/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrTostringTest.java index ed9542817..34393129e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrTostringTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RenameMethodsNamedHashcodeEqualOrTostringTest.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/staticanalysis/RenamePrivateFieldsToCamelCaseTest.java b/src/test/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCaseTest.java index 5045df1cc..134b9736b 100644 --- a/src/test/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCaseTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/RenamePrivateFieldsToCamelCaseTest.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/test/java/org/openrewrite/staticanalysis/ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNullTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNullTest.java index 402b3107c..04b2fdbc1 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNullTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceApacheCommonsLang3ValidateNotNullWithObjectsRequireNonNullTest.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/staticanalysis/ReplaceClassIsInstanceWithInstanceofTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceofTest.java index 292bc3ffc..b7f6d1c70 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceofTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceClassIsInstanceWithInstanceofTest.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/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArrayTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArrayTest.java index cf031ffa4..e3d41ec8b 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArrayTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceCollectionToArrayArgWithEmptyArrayTest.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/staticanalysis/ReplaceDeprecatedRuntimeExecMethodsTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethodsTest.java index 36ed0c3ab..60e4f3457 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethodsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceDeprecatedRuntimeExecMethodsTest.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/staticanalysis/ReplaceDuplicateStringLiteralsTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiteralsTest.java index 8fc7e44a8..be34b7030 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiteralsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceDuplicateStringLiteralsTest.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/test/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReferenceTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReferenceTest.java index 90f945e7d..9f3268b8f 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReferenceTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceLambdaWithMethodReferenceTest.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openrewrite.staticanalysis; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresentTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresentTest.java index 42c47652e..ad44ef26e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresentTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceOptionalIsPresentWithIfPresentTest.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/staticanalysis/ReplaceRedundantFormatWithPrintfTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintfTest.java index c0b0c3af1..371f8a06e 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintfTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceRedundantFormatWithPrintfTest.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/test/java/org/openrewrite/staticanalysis/ReplaceStackWithDequeTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceStackWithDequeTest.java index 5455113d0..e43b15e93 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceStackWithDequeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceStackWithDequeTest.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/test/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollectTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollectTest.java index 20dc4bbe2..bf82c0b74 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollectTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceStreamToListWithCollectTest.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/staticanalysis/ReplaceStringBuilderWithStringTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithStringTest.java index 750b44085..287c3f679 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithStringTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceStringBuilderWithStringTest.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/staticanalysis/ReplaceTextBlockWithStringTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithStringTest.java index 9694aadcb..c19e0c272 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithStringTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceTextBlockWithStringTest.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/staticanalysis/ReplaceThreadRunWithThreadStartTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceThreadRunWithThreadStartTest.java index ed3e17886..be52d08b9 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceThreadRunWithThreadStartTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceThreadRunWithThreadStartTest.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/test/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNullTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNullTest.java index a2d51a460..3d42af702 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNullTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNullTest.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/staticanalysis/ReplaceWeekYearWithYearTest.java b/src/test/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYearTest.java index 40d02fd29..4b1c7b8fe 100644 --- a/src/test/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYearTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/ReplaceWeekYearWithYearTest.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/staticanalysis/SimplifyBooleanExpressionTest.java b/src/test/java/org/openrewrite/staticanalysis/SimplifyBooleanExpressionTest.java index 039136621..11ac5c0ab 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SimplifyBooleanExpressionTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SimplifyBooleanExpressionTest.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/test/java/org/openrewrite/staticanalysis/SimplifyBooleanReturnTest.java b/src/test/java/org/openrewrite/staticanalysis/SimplifyBooleanReturnTest.java index 81418513c..891a29116 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SimplifyBooleanReturnTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SimplifyBooleanReturnTest.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/test/java/org/openrewrite/staticanalysis/SimplifyCompoundStatementTest.java b/src/test/java/org/openrewrite/staticanalysis/SimplifyCompoundStatementTest.java index 097801d2c..b5bcee4ad 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SimplifyCompoundStatementTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SimplifyCompoundStatementTest.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/test/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignmentsTest.java b/src/test/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignmentsTest.java index 9476cbff8..db1d58ead 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignmentsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SimplifyConsecutiveAssignmentsTest.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/staticanalysis/SimplifyConstantIfBranchExecutionTest.java b/src/test/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecutionTest.java index b34022baa..1afce88c8 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecutionTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SimplifyConstantIfBranchExecutionTest.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/test/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnitsTest.java b/src/test/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnitsTest.java index c2f210337..0ec47343a 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnitsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SimplifyDurationCreationUnitsTest.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/test/java/org/openrewrite/staticanalysis/SimplifyTernaryTest.java b/src/test/java/org/openrewrite/staticanalysis/SimplifyTernaryTest.java index 1917cdb49..617f1d1e0 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SimplifyTernaryTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SimplifyTernaryTest.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/staticanalysis/SortedSetStreamToLinkedHashSetTest.java b/src/test/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSetTest.java index c63c3bd9b..ca91b9674 100644 --- a/src/test/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSetTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/SortedSetStreamToLinkedHashSetTest.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/staticanalysis/StaticMethodNotFinalTest.java b/src/test/java/org/openrewrite/staticanalysis/StaticMethodNotFinalTest.java index 1aba811fd..19abf103f 100644 --- a/src/test/java/org/openrewrite/staticanalysis/StaticMethodNotFinalTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/StaticMethodNotFinalTest.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/staticanalysis/StringLiteralEqualityTest.java b/src/test/java/org/openrewrite/staticanalysis/StringLiteralEqualityTest.java index 9c739a3f6..ef5ca9bb8 100644 --- a/src/test/java/org/openrewrite/staticanalysis/StringLiteralEqualityTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/StringLiteralEqualityTest.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/staticanalysis/TernaryOperatorsShouldNotBeNestedTest.java b/src/test/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNestedTest.java index c04d036b2..14848d414 100644 --- a/src/test/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNestedTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/TernaryOperatorsShouldNotBeNestedTest.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/test/java/org/openrewrite/staticanalysis/URLEqualsHashCodeTest.java b/src/test/java/org/openrewrite/staticanalysis/URLEqualsHashCodeTest.java index 329deb9eb..776e035ce 100644 --- a/src/test/java/org/openrewrite/staticanalysis/URLEqualsHashCodeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/URLEqualsHashCodeTest.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/staticanalysis/UnnecessaryCatchTest.java b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryCatchTest.java index 35651fa37..8a5eec218 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryCatchTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryCatchTest.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/test/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResourcesTest.java b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResourcesTest.java index b96086f5d..73c923669 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResourcesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryCloseInTryWithResourcesTest.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/staticanalysis/UnnecessaryExplicitTypeArgumentsTest.java b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArgumentsTest.java index bdcbae3e4..b737278ff 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArgumentsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryExplicitTypeArgumentsTest.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/staticanalysis/UnnecessaryParenthesesTest.java b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryParenthesesTest.java index 9950d2e94..545890272 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryParenthesesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryParenthesesTest.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /* * Copyright 2020 the original author or authors. *

diff --git a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotationsTest.java b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotationsTest.java index ff2b3a477..5f9d5b185 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotationsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryPrimitiveAnnotationsTest.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/test/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatementTest.java b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatementTest.java index a482debfd..b7250fd78 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatementTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryReturnAsLastStatementTest.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/staticanalysis/UnnecessaryThrowsTest.java b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryThrowsTest.java index 62125b91b..e94f7049c 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnnecessaryThrowsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnnecessaryThrowsTest.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/test/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotationsTest.java b/src/test/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotationsTest.java index 26bc19452..103bbc3f2 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotationsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UnwrapRepeatableAnnotationsTest.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/test/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixesTest.java b/src/test/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixesTest.java index 7d54c7354..cc36d8c06 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UpperCaseLiteralSuffixesTest.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/test/java/org/openrewrite/staticanalysis/UseAsBuilderTest.java b/src/test/java/org/openrewrite/staticanalysis/UseAsBuilderTest.java index 779a2f753..6739fea54 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseAsBuilderTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseAsBuilderTest.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/test/java/org/openrewrite/staticanalysis/UseCollectionInterfacesTest.java b/src/test/java/org/openrewrite/staticanalysis/UseCollectionInterfacesTest.java index 19e86a31a..191e21712 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseCollectionInterfacesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseCollectionInterfacesTest.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/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorTest.java b/src/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorTest.java index f6986b6b9..03e150398 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorTest.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/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorWithVarTest.java b/src/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorWithVarTest.java index c5a8a4df9..bddf69490 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorWithVarTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseDiamondOperatorWithVarTest.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/test/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAllTest.java b/src/test/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAllTest.java index 1e34bf201..47566b99d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAllTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseForEachRemoveInsteadOfSetRemoveAllTest.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/test/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarationsTest.java b/src/test/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarationsTest.java index 788430407..c950b0583 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarationsTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseJavaStyleArrayDeclarationsTest.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/staticanalysis/UseLambdaForFunctionalInterfaceTest.java b/src/test/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterfaceTest.java index 7931e383f..13b9d3007 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterfaceTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseLambdaForFunctionalInterfaceTest.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.openrewrite.staticanalysis; import org.junit.jupiter.api.Disabled; diff --git a/src/test/java/org/openrewrite/staticanalysis/UseListSortTest.java b/src/test/java/org/openrewrite/staticanalysis/UseListSortTest.java index 378003039..fbaad4272 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseListSortTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseListSortTest.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/test/java/org/openrewrite/staticanalysis/UseObjectNotifyAllTest.java b/src/test/java/org/openrewrite/staticanalysis/UseObjectNotifyAllTest.java index 58aef0384..969e25e9b 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseObjectNotifyAllTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseObjectNotifyAllTest.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/staticanalysis/UseStandardCharsetTest.java b/src/test/java/org/openrewrite/staticanalysis/UseStandardCharsetTest.java index 2b0ed0ab5..a99119511 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseStandardCharsetTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseStandardCharsetTest.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/test/java/org/openrewrite/staticanalysis/UseStringReplaceTest.java b/src/test/java/org/openrewrite/staticanalysis/UseStringReplaceTest.java index 9f4003aac..8e82c1d98 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseStringReplaceTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseStringReplaceTest.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/test/java/org/openrewrite/staticanalysis/UseSystemLineSeparatorTest.java b/src/test/java/org/openrewrite/staticanalysis/UseSystemLineSeparatorTest.java index 9ea192263..1bceb4939 100644 --- a/src/test/java/org/openrewrite/staticanalysis/UseSystemLineSeparatorTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/UseSystemLineSeparatorTest.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/staticanalysis/WhileInsteadOfForTest.java b/src/test/java/org/openrewrite/staticanalysis/WhileInsteadOfForTest.java index c4f561674..8143b583d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/WhileInsteadOfForTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/WhileInsteadOfForTest.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/staticanalysis/WriteOctalValuesAsDecimalTest.java b/src/test/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimalTest.java index 5694d2d46..3fa8ffd4d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimalTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/WriteOctalValuesAsDecimalTest.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/staticanalysis/charp/CatchClauseOnlyRethrowsCsharpTest.java b/src/test/java/org/openrewrite/staticanalysis/charp/CatchClauseOnlyRethrowsCsharpTest.java index 1f4ca3ffa..9ee160771 100755 --- a/src/test/java/org/openrewrite/staticanalysis/charp/CatchClauseOnlyRethrowsCsharpTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/charp/CatchClauseOnlyRethrowsCsharpTest.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/staticanalysis/charp/ExplicitInitializationVisitorCsharpTest.java b/src/test/java/org/openrewrite/staticanalysis/charp/ExplicitInitializationVisitorCsharpTest.java index b8dd25c3a..1e1b38ce7 100644 --- a/src/test/java/org/openrewrite/staticanalysis/charp/ExplicitInitializationVisitorCsharpTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/charp/ExplicitInitializationVisitorCsharpTest.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/staticanalysis/charp/JavaToCsharp.java b/src/test/java/org/openrewrite/staticanalysis/charp/JavaToCsharp.java index 822f919bc..46bcf45f8 100644 --- a/src/test/java/org/openrewrite/staticanalysis/charp/JavaToCsharp.java +++ b/src/test/java/org/openrewrite/staticanalysis/charp/JavaToCsharp.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/staticanalysis/groovy/ExplicitInitializationVisitorGroovyTest.java b/src/test/java/org/openrewrite/staticanalysis/groovy/ExplicitInitializationVisitorGroovyTest.java index 1df3b97f4..14560345d 100644 --- a/src/test/java/org/openrewrite/staticanalysis/groovy/ExplicitInitializationVisitorGroovyTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/groovy/ExplicitInitializationVisitorGroovyTest.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/test/java/org/openrewrite/staticanalysis/groovy/MinimumSwitchCasesTest.java b/src/test/java/org/openrewrite/staticanalysis/groovy/MinimumSwitchCasesTest.java index 0256565a0..84c4023cf 100644 --- a/src/test/java/org/openrewrite/staticanalysis/groovy/MinimumSwitchCasesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/groovy/MinimumSwitchCasesTest.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/test/java/org/openrewrite/staticanalysis/groovy/ReplaceLambdaWithMethodReferenceTest.java b/src/test/java/org/openrewrite/staticanalysis/groovy/ReplaceLambdaWithMethodReferenceTest.java index af0a36d6c..ce139cb59 100644 --- a/src/test/java/org/openrewrite/staticanalysis/groovy/ReplaceLambdaWithMethodReferenceTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/groovy/ReplaceLambdaWithMethodReferenceTest.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/staticanalysis/groovy/StringLiteralEqualityTest.java b/src/test/java/org/openrewrite/staticanalysis/groovy/StringLiteralEqualityTest.java index 97f0a7e8c..e6a43c59f 100644 --- a/src/test/java/org/openrewrite/staticanalysis/groovy/StringLiteralEqualityTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/groovy/StringLiteralEqualityTest.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/staticanalysis/groovy/package-info.java b/src/test/java/org/openrewrite/staticanalysis/groovy/package-info.java index d0fe440f2..0de47861a 100644 --- a/src/test/java/org/openrewrite/staticanalysis/groovy/package-info.java +++ b/src/test/java/org/openrewrite/staticanalysis/groovy/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/test/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToTypeTest.java b/src/test/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToTypeTest.java index a3cef8cfc..dfa58ec53 100644 --- a/src/test/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToTypeTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/java/MoveFieldAnnotationToTypeTest.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/staticanalysis/kotlin/NeedBracesTest.java b/src/test/java/org/openrewrite/staticanalysis/kotlin/NeedBracesTest.java index e235373e2..c45334a73 100644 --- a/src/test/java/org/openrewrite/staticanalysis/kotlin/NeedBracesTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/kotlin/NeedBracesTest.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/staticanalysis/kotlin/RenameLocalVariablesToCamelCaseTest.java b/src/test/java/org/openrewrite/staticanalysis/kotlin/RenameLocalVariablesToCamelCaseTest.java index 9847e060a..739e529c1 100644 --- a/src/test/java/org/openrewrite/staticanalysis/kotlin/RenameLocalVariablesToCamelCaseTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/kotlin/RenameLocalVariablesToCamelCaseTest.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/staticanalysis/kotlin/ReplaceLambdaWithMethodReferenceTest.java b/src/test/java/org/openrewrite/staticanalysis/kotlin/ReplaceLambdaWithMethodReferenceTest.java index 6a4312545..d5b3699cb 100644 --- a/src/test/java/org/openrewrite/staticanalysis/kotlin/ReplaceLambdaWithMethodReferenceTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/kotlin/ReplaceLambdaWithMethodReferenceTest.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/staticanalysis/kotlin/SimplifyBooleanExpressionTest.java b/src/test/java/org/openrewrite/staticanalysis/kotlin/SimplifyBooleanExpressionTest.java index 239dd0d65..21ade0ed2 100644 --- a/src/test/java/org/openrewrite/staticanalysis/kotlin/SimplifyBooleanExpressionTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/kotlin/SimplifyBooleanExpressionTest.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/staticanalysis/kotlin/StringLiteralEqualityTest.java b/src/test/java/org/openrewrite/staticanalysis/kotlin/StringLiteralEqualityTest.java index dc51298fd..359e97100 100644 --- a/src/test/java/org/openrewrite/staticanalysis/kotlin/StringLiteralEqualityTest.java +++ b/src/test/java/org/openrewrite/staticanalysis/kotlin/StringLiteralEqualityTest.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,