From 9059eaf3bd67cf25755bd2d480bfd0d8920d4cac Mon Sep 17 00:00:00 2001 From: Jonathan Schneider Date: Sat, 14 Dec 2024 18:51:43 -0500 Subject: [PATCH 1/2] Apply MSAL license --- LICENSE | 201 ------------------ LICENSE.md | 87 ++++++++ README.md | 1 - gradle/licenseHeader.txt | 6 +- .../java/migrate/AddJDeprScanPlugin.java | 6 +- .../AddMissingMethodImplementation.java | 6 +- ...ionForIllegalReflectionWarningsPlugin.java | 6 +- ...oreExceptionToTypeNotPresentException.java | 4 +- .../java/migrate/BeanDiscovery.java | 6 +- .../java/migrate/BeansXmlNamespace.java | 6 +- .../java/migrate/CastArraysAsListToList.java | 6 +- .../ChangeMethodInvocationReturnType.java | 6 +- .../java/migrate/DontOverfetchDto.java | 6 +- ...tExceptionToAlreadyConnectedException.java | 4 +- .../migrate/JREThrowableFinalMethods.java | 4 +- .../java/migrate/JpaCacheProperties.java | 6 +- .../openrewrite/java/migrate/MXBeanRule.java | 6 +- .../java/migrate/ReferenceCloneMethod.java | 4 +- .../java/migrate/RemoveIllegalSemicolons.java | 4 +- .../RemovedSecurityManagerMethods.java | 4 +- .../java/migrate/ReplaceAWTGetPeerMethod.java | 5 +- .../ReplaceComSunAWTUtilitiesMethods.java | 4 +- .../ReplaceLocalizedStreamMethods.java | 4 +- .../migrate/ReplaceStringLiteralValue.java | 6 +- .../java/migrate/UpgradeJavaVersion.java | 6 +- .../java/migrate/UseJavaUtilBase64.java | 6 +- .../java/migrate/UseTabsOrSpaces.java | 6 +- .../guava/AbstractNoGuavaImmutableOf.java | 6 +- .../guava/NoGuavaAtomicsNewReference.java | 6 +- .../migrate/guava/NoGuavaCreateTempDir.java | 6 +- .../migrate/guava/NoGuavaDirectExecutor.java | 6 +- .../migrate/guava/NoGuavaImmutableListOf.java | 6 +- .../migrate/guava/NoGuavaImmutableMapOf.java | 6 +- .../migrate/guava/NoGuavaImmutableSetOf.java | 6 +- .../guava/NoGuavaListsNewArrayList.java | 6 +- .../NoGuavaListsNewCopyOnWriteArrayList.java | 6 +- .../guava/NoGuavaListsNewLinkedList.java | 6 +- .../migrate/guava/NoGuavaMapsNewHashMap.java | 4 +- .../guava/NoGuavaMapsNewLinkedHashMap.java | 6 +- .../migrate/guava/NoGuavaMapsNewTreeMap.java | 4 +- .../guava/NoGuavaOptionalFromJavaUtil.java | 6 +- .../guava/NoGuavaOptionalToJavaUtil.java | 6 +- .../migrate/guava/NoGuavaPrimitiveAsList.java | 4 +- .../java/migrate/guava/NoGuavaRefaster.java | 4 +- .../NoGuavaSetsNewConcurrentHashSet.java | 6 +- .../migrate/guava/NoGuavaSetsNewHashSet.java | 6 +- .../guava/NoGuavaSetsNewLinkedHashSet.java | 6 +- .../migrate/guava/PreferJavaStringJoin.java | 4 +- .../guava/PreferJavaStringJoinVisitor.java | 4 +- .../PreferJavaUtilOptionalOrElseNull.java | 6 +- .../PreferJavaUtilOptionalOrSupplier.java | 6 +- .../java/migrate/guava/package-info.java | 6 +- ...FileInOrOutputStreamFinalizeWithClose.java | 7 +- .../java/migrate/io/package-info.java | 6 +- ...plicationPathWildcardNoLongerAccepted.java | 6 +- .../jakarta/BeanValidationMessages.java | 6 +- .../migrate/jakarta/RemoveBeanIsNullable.java | 6 +- .../jakarta/UpdateAddAnnotatedTypes.java | 6 +- .../jakarta/UpdateBeanManagerMethods.java | 6 +- .../migrate/jakarta/UpdateGetRealPath.java | 7 +- .../java/migrate/jakarta/package-info.java | 6 +- .../migrate/javax/AddColumnAnnotation.java | 4 +- .../AddDefaultConstructorToEntityClass.java | 4 +- .../java/migrate/javax/AddJaxbRuntime.java | 6 +- .../java/migrate/javax/AddJaxwsRuntime.java | 6 +- .../javax/AddScopeToInjectedClass.java | 6 +- .../java/migrate/javax/AddTableGenerator.java | 4 +- .../AddTransientAnnotationToCollections.java | 4 +- .../javax/AddTransientAnnotationToEntity.java | 4 +- ...dTransientAnnotationToPrivateAccessor.java | 4 +- .../migrate/javax/AnnotateTypesVisitor.java | 6 +- .../migrate/javax/HttpSessionInvalidate.java | 4 +- .../migrate/javax/RemoveEmbeddableId.java | 4 +- .../javax/RemoveTemporalAnnotation.java | 4 +- .../javax/UseJoinColumnForMapping.java | 4 +- .../java/migrate/javax/package-info.java | 6 +- .../java/migrate/joda/JodaTimeFlowSpec.java | 4 +- .../java/migrate/joda/JodaTimeRecipe.java | 4 +- .../java/migrate/joda/JodaTimeScanner.java | 4 +- .../java/migrate/joda/JodaTimeVisitor.java | 4 +- .../java/migrate/joda/SafeCheckMarker.java | 4 +- .../java/migrate/joda/ScopeAwareVisitor.java | 4 +- .../java/migrate/joda/package-info.java | 6 +- .../templates/AbstractDateTimeTemplates.java | 4 +- .../templates/AbstractDurationTemplates.java | 4 +- .../templates/AbstractInstantTemplates.java | 4 +- .../templates/AbstractIntervalTemplates.java | 4 +- .../migrate/joda/templates/AllTemplates.java | 4 +- .../migrate/joda/templates/BaseDateTime.java | 4 +- .../joda/templates/BaseDurationTemplates.java | 4 +- .../joda/templates/BaseIntervalTemplates.java | 4 +- .../templates/DateTimeFormatTemplates.java | 4 +- .../templates/DateTimeFormatterTemplates.java | 4 +- .../joda/templates/DateTimeTemplates.java | 4 +- .../joda/templates/DurationTemplates.java | 4 +- .../joda/templates/InstantTemplates.java | 4 +- .../joda/templates/IntervalTemplates.java | 4 +- .../joda/templates/MethodTemplate.java | 4 +- .../migrate/joda/templates/Templates.java | 4 +- .../migrate/joda/templates/TimeClassMap.java | 4 +- .../joda/templates/TimeClassNames.java | 4 +- .../joda/templates/TimeZoneTemplates.java | 4 +- .../migrate/joda/templates/VarTemplates.java | 4 +- .../migrate/joda/templates/package-info.java | 6 +- .../java/migrate/lang/LiteralOrVariable.java | 6 +- .../lang/MigrateClassLoaderDefineClass.java | 6 +- ...ceToGetDeclaredConstructorNewInstance.java | 6 +- .../lang/MigrateSecurityManagerMulticast.java | 6 +- .../java/migrate/lang/StringFormatted.java | 6 +- .../java/migrate/lang/StringRules.java | 6 +- .../migrate/lang/ThreadStopUnsupported.java | 6 +- .../java/migrate/lang/UseStringIsEmpty.java | 6 +- .../java/migrate/lang/UseTextBlocks.java | 6 +- .../java/migrate/lang/package-info.java | 6 +- .../migrate/lang/var/DeclarationCheck.java | 6 +- .../UseVarForGenericMethodInvocations.java | 6 +- .../var/UseVarForGenericsConstructors.java | 6 +- .../migrate/lang/var/UseVarForObject.java | 6 +- .../migrate/lang/var/UseVarForPrimitive.java | 6 +- .../java/migrate/lang/var/package-info.java | 6 +- ...teGetLoggingMXBeanToGetPlatformMXBean.java | 6 +- ...MigrateLogRecordSetMillisToSetInstant.java | 6 +- .../MigrateLoggerGlobalToGetGlobal.java | 6 +- ...MigrateLoggerLogrbToUseResourceBundle.java | 6 +- .../java/migrate/logging/package-info.java | 6 +- .../migrate/lombok/LombokValToFinalVar.java | 6 +- .../migrate/lombok/LombokValueToRecord.java | 6 +- .../java/migrate/lombok/package-info.java | 6 +- ...UpdateMavenProjectPropertyJavaVersion.java | 4 +- ...venCompilerPluginReleaseConfiguration.java | 6 +- .../java/migrate/maven/package-info.java | 6 +- .../metrics/SimplifyMicrometerMeterTags.java | 6 +- .../java/migrate/metrics/package-info.java | 6 +- ...ionHttpServerErrorToHttpInternalError.java | 6 +- ...eMulticastSocketSetTTLToSetTimeToLive.java | 6 +- .../migrate/net/MigrateURLDecoderDecode.java | 6 +- .../migrate/net/MigrateURLEncoderEncode.java | 6 +- .../migrate/net/URLConstructorsToURI.java | 6 +- .../java/migrate/net/package-info.java | 6 +- .../java/migrate/package-info.java | 6 +- .../java/migrate/search/AboutJavaVersion.java | 6 +- .../migrate/search/FindDataUsedOnDto.java | 6 +- .../migrate/search/FindDtoOverfetching.java | 6 +- .../migrate/search/FindInternalJavaxApis.java | 4 +- .../java/migrate/search/FindJavaVersion.java | 6 +- .../migrate/search/PlanJavaMigration.java | 4 +- .../java/migrate/search/package-info.java | 6 +- .../sql/MigrateDriverManagerSetLogStream.java | 6 +- .../java/migrate/sql/package-info.java | 6 +- .../java/migrate/table/DtoDataUses.java | 6 +- .../table/JavaVersionMigrationPlan.java | 4 +- .../migrate/table/JavaVersionPerFile.java | 6 +- .../table/JavaVersionPerSourceSet.java | 6 +- .../java/migrate/table/JavaVersionRow.java | 6 +- .../java/migrate/table/JavaVersionTable.java | 6 +- .../java/migrate/util/IteratorNext.java | 6 +- .../java/migrate/util/ListFirstAndLast.java | 6 +- .../util/MigrateCollectionsSingletonList.java | 6 +- .../util/MigrateCollectionsSingletonMap.java | 6 +- .../util/MigrateCollectionsSingletonSet.java | 6 +- .../MigrateCollectionsUnmodifiableList.java | 6 +- .../MigrateCollectionsUnmodifiableSet.java | 6 +- .../util/OptionalNotEmptyToIsPresent.java | 6 +- .../util/OptionalNotPresentToIsEmpty.java | 6 +- .../migrate/util/OptionalStreamRecipe.java | 6 +- .../migrate/util/RemoveFinalizerFromZip.java | 7 +- ...eplaceMathRandomWithThreadLocalRandom.java | 5 +- .../util/ReplaceStreamCollectWithToList.java | 6 +- .../java/migrate/util/StreamFindFirst.java | 4 +- .../java/migrate/util/UseEnumSetOf.java | 6 +- .../java/migrate/util/UseLocaleOf.java | 6 +- .../java/migrate/util/UseMapOf.java | 6 +- .../java/migrate/util/package-info.java | 6 +- .../add-common-annotations-dependencies.yml | 5 +- .../rewrite/add-inject-dependencies.yml | 7 +- .../resources/META-INF/rewrite/category.yml | 7 +- .../resources/META-INF/rewrite/ibm-java.yml | 5 +- .../resources/META-INF/rewrite/jacoco.yml | 7 +- .../META-INF/rewrite/jakarta-ee-10.yml | 7 +- .../META-INF/rewrite/jakarta-ee-9.yml | 7 +- .../META-INF/rewrite/jakarta-faces-4.yml | 7 +- .../META-INF/rewrite/java-concurrent-apis.yml | 7 +- .../resources/META-INF/rewrite/java-ee-6.yml | 5 +- .../resources/META-INF/rewrite/java-ee-7.yml | 7 +- .../resources/META-INF/rewrite/java-ee-8.yml | 7 +- .../META-INF/rewrite/java-lang-apis.yml | 7 +- .../META-INF/rewrite/java-lang-var.yml | 7 +- .../META-INF/rewrite/java-logging-apis.yml | 7 +- .../META-INF/rewrite/java-net-apis.yml | 7 +- .../META-INF/rewrite/java-sql-apis.yml | 7 +- .../META-INF/rewrite/java-util-apis.yml | 7 +- .../META-INF/rewrite/java-version-11.yml | 5 +- .../META-INF/rewrite/java-version-17.yml | 5 +- .../META-INF/rewrite/java-version-21.yml | 5 +- .../META-INF/rewrite/java-version-6.yml | 7 +- .../META-INF/rewrite/java-version-7.yml | 7 +- .../META-INF/rewrite/java-version-8.yml | 7 +- .../rewrite/javax-lang-model-util.yml | 7 +- .../rewrite/javax-management-monitor-apis.yml | 7 +- .../META-INF/rewrite/javax-xml-stream.yml | 7 +- .../resources/META-INF/rewrite/jspecify.yml | 4 +- .../resources/META-INF/rewrite/lombok.yml | 7 +- .../resources/META-INF/rewrite/no-guava.yml | 7 +- .../META-INF/rewrite/no-joda-time.yml | 7 +- .../rewrite/openjpa-to-eclipselink.yml | 5 +- .../rewrite/remove-cobertura-maven-plugin.yml | 7 +- src/main/resources/META-INF/rewrite/scala.yml | 4 +- .../AddMissingMethodImplementationTest.java | 4 +- ...xceptionToTypeNotPresentExceptionTest.java | 4 +- .../java/migrate/BeanDiscoveryTest.java | 6 +- .../java/migrate/BeansXmlNamespaceTest.java | 6 +- .../migrate/CastArraysAsListToListTest.java | 6 +- .../ChangeMethodInvocationReturnTypeTest.java | 6 +- .../migrate/DeleteDeprecatedFinalizeTest.java | 4 +- .../DeprecatedCountStackFramesMethodTest.java | 4 +- .../java/migrate/DontOverfetchDtoTest.java | 6 +- .../java/migrate/IBMJDKtoOracleJDKTest.java | 4 +- .../java/migrate/IBMSemeruTest.java | 6 +- ...eptionToAlreadyConnectedExceptionTest.java | 4 +- .../migrate/InternalBindPackagesTest.java | 4 +- .../migrate/JREThrowableFinalMethodsTest.java | 4 +- .../java/migrate/JpaCachePropertiesTest.java | 6 +- .../java/migrate/MXBeanRuleTest.java | 6 +- .../migrate/ReferenceCloneMethodTest.java | 4 +- .../migrate/RemoveIllegalSemicolonsTest.java | 4 +- ...AndConstantBootstrapsConstructorsTest.java | 4 +- .../RemovedToolProviderConstructorTest.java | 4 +- .../migrate/ReplaceAWTGetPeerMethodTest.java | 4 +- .../ReplaceComSunAWTUtilitiesMethodsTest.java | 4 +- .../ReplaceLocalizedStreamMethodsTest.java | 4 +- .../SunNetSslPackageUnavailableTest.java | 4 +- .../java/migrate/ThreadStopDestroyTest.java | 4 +- .../java/migrate/UpgradeJavaVersionTest.java | 6 +- .../java/migrate/UpgradeToJava17Test.java | 4 +- .../java/migrate/UpgradeToJava6Test.java | 6 +- .../java/migrate/UpgradeToJava7Test.java | 6 +- .../java/migrate/UseJavaUtilBase64Test.java | 6 +- .../java/migrate/UseTabsOrSpacesTest.java | 6 +- .../concurrent/JavaConcurrentAPIsTest.java | 6 +- .../guava/NoGuavaAtomicsNewReferenceTest.java | 6 +- .../guava/NoGuavaCreateTempDirTest.java | 6 +- .../guava/NoGuavaDirectExecutorTest.java | 6 +- .../guava/NoGuavaImmutableListOfTest.java | 6 +- .../guava/NoGuavaImmutableMapOfTest.java | 6 +- .../guava/NoGuavaImmutableSetOfTest.java | 6 +- .../java/migrate/guava/NoGuavaJava21Test.java | 6 +- .../guava/NoGuavaListsNewArrayListTest.java | 6 +- ...GuavaListsNewCopyOnWriteArrayListTest.java | 6 +- .../guava/NoGuavaListsNewLinkedListTest.java | 6 +- .../guava/NoGuavaMapsNewHashMapTest.java | 5 +- .../NoGuavaMapsNewLinkedHashMapTest.java | 6 +- .../guava/NoGuavaMapsNewTreeMapTest.java | 5 +- .../guava/NoGuavaPrimitiveAsListTest.java | 4 +- .../NoGuavaSetsNewConcurrentHashSetTest.java | 6 +- .../guava/NoGuavaSetsNewHashSetTest.java | 6 +- .../NoGuavaSetsNewLinkedHashSetTest.java | 6 +- .../java/migrate/guava/NoGuavaTest.java | 6 +- .../guava/PreferJavaStringJoinTest.java | 4 +- .../guava/PreferJavaUtilObjectsTest.java | 6 +- .../guava/PreferJavaUtilOptionalTest.java | 6 +- .../guava/PreferJavaUtilPredicateTest.java | 4 +- ...InOrOutputStreamFinalizeWithCloseTest.java | 7 +- .../migrate/jacoco/UpgradeJaCoCoTest.java | 6 +- ...ationPathWildcardNoLongerAcceptedTest.java | 6 +- .../jakarta/BeanValidationMessagesTest.java | 6 +- .../jakarta/EhcacheJavaxtoJakartaTest.java | 6 +- .../jakarta/FacesJNDINamesChangedTest.java | 6 +- .../jakarta/FacesManagedBeansRemovedTest.java | 6 +- .../jakarta/JacksonJavaxtoJakartaTest.java | 6 +- .../jakarta/JakartaFacesXhtmlTest.java | 6 +- ...idationXmlToJakartaBeanValidationTest.java | 4 +- .../JavaxBeansXmlToJakartaBeansXmlTest.java | 6 +- .../JavaxEjbJarXmlToJakartaEjbJarXmlTest.java | 4 +- ...sConfigXmlToJakartaFacesConfigXmlTest.java | 6 +- ...aryXmlToJakartaFacesTagLibraryXmlTest.java | 6 +- .../JavaxInjectToJakartaInjectTest.java | 4 +- .../migrate/jakarta/JavaxToJakartaTest.java | 6 +- ...tionMigrationToJakartaTransactionTest.java | 4 +- ...ragmentXmlToJakartaWebFragmentXmlTest.java | 6 +- .../JavaxWebXmlToJakartaWebXmlTest.java | 6 +- .../jakarta/JohnzonJavaxtoJakartaTest.java | 6 +- .../jakarta/RemovalsServletJakarta10Test.java | 6 +- .../jakarta/RemoveBeanIsNullableTest.java | 6 +- .../RemovedIsParmetersProvidedMethodTest.java | 6 +- ...rtaFacesExpressionLanguageClassesTest.java | 6 +- ...movedJakartaFacesResourceResolverTest.java | 6 +- .../RemovedSOAPElementFactoryTest.java | 6 +- .../RemovedStateManagerMethodsTest.java | 6 +- .../RemovedUIComponentConstantTest.java | 6 +- ...ervletCookieBehaviorChangeRFC6265Test.java | 6 +- .../jakarta/UpdateAddAnnotatedTypesTest.java | 4 +- .../UpdateApacheWSSecurityPackagesTest.java | 6 +- .../jakarta/UpdateBeanManagerMethodsTest.java | 4 +- .../jakarta/UpdateGetRealPathTest.java | 4 +- .../UpgradeFacesOpenSourceLibrariesTest.java | 6 +- .../WsWsocServerContainerDeprecationTest.java | 6 +- .../migrate/javaee/AddTableGeneratorTest.java | 4 +- .../javaee/ApacheDefaultProviderTest.java | 6 +- .../javaee/HttpSessionInvalidateTest.java | 4 +- .../OpenJPAPersistenceProviderTest.java | 6 +- ...ervletIsRequestedSessionIdFromURLTest.java | 6 +- .../javax/AddColumnAnnotationTest.java | 4 +- .../AddCommonAnnotationsDependenciesTest.java | 4 +- ...ddDefaultConstructorToEntityClassTest.java | 4 +- .../javax/AddJaxbDependenciesTest.java | 6 +- .../javax/AddJaxwsDependenciesTest.java | 6 +- .../javax/AddScopeToInjectedClassTest.java | 6 +- ...dTransientAnnotationToCollectionsTest.java | 4 +- .../AddTransientAnnotationToEntityTest.java | 4 +- ...nsientAnnotationToPrivateAccessorTest.java | 4 +- .../migrate/javax/JavaxLangModelUtilTest.java | 6 +- .../javax/JavaxManagementMonitorAPIsTest.java | 6 +- .../migrate/javax/JavaxXmlStreamAPIsTest.java | 6 +- .../migrate/javax/RemoveEmbeddableIdTest.java | 4 +- .../javax/RemoveTemporalAnnotationTest.java | 4 +- .../javax/UseJoinColumnForMappingTest.java | 4 +- .../migrate/joda/JodaTimeFlowSpecTest.java | 4 +- .../java/migrate/joda/JodaTimeRecipeTest.java | 4 +- .../migrate/joda/JodaTimeScannerTest.java | 4 +- .../migrate/joda/JodaTimeVisitorTest.java | 4 +- .../java/migrate/joda/NoJodaTimeTest.java | 4 +- .../jspecify/MigrateToJspecifyTest.java | 4 +- .../java/migrate/lang/JavaLangAPIsTest.java | 6 +- .../MigrateClassLoaderDefineClassTest.java | 6 +- ...GetDeclaredConstructorNewInstanceTest.java | 6 +- .../MigrateSecurityManagerMulticastTest.java | 6 +- .../migrate/lang/StringFormattedTest.java | 6 +- .../java/migrate/lang/StringRulesTest.java | 6 +- .../lang/ThreadStopUnsupportedTest.java | 6 +- .../migrate/lang/UseStringIsEmptyTest.java | 6 +- .../java/migrate/lang/UseTextBlocksTest.java | 6 +- .../java/migrate/lang/UseVarKeywordTest.java | 6 +- ...UseVarForGenericMethodInvocationsTest.java | 6 +- .../UseVarForGenericsConstructorsTest.java | 6 +- .../lang/var/UseVarForObjectsTest.java | 6 +- .../lang/var/UseVarForPrimitiveTest.java | 6 +- .../java/migrate/lang/var/VarBaseTest.java | 6 +- .../migrate/logging/JavaLoggingAPIsTest.java | 6 +- ...tLoggingMXBeanToGetPlatformMXBeanTest.java | 6 +- ...ateLogRecordSetMillisToSetInstantTest.java | 6 +- .../MigrateLoggerGlobalToGetGlobalTest.java | 6 +- ...ateLoggerLogrbToUseResourceBundleTest.java | 6 +- .../lombok/LombokValToFinalVarTest.java | 6 +- .../lombok/LombokValueToRecordTest.java | 6 +- .../lombok/UpdateLombokToJava11Test.java | 6 +- ...teMavenProjectPropertyJavaVersionTest.java | 4 +- ...ompilerPluginReleaseConfigurationTest.java | 6 +- .../SimplifyMicrometerMeterTagsTest.java | 6 +- .../java/migrate/net/JavaNetAPIsTest.java | 6 +- ...ttpServerErrorToHttpInternalErrorTest.java | 6 +- ...ticastSocketSetTTLToSetTimeToLiveTest.java | 6 +- .../net/MigrateURLDecoderDecodeTest.java | 6 +- .../net/MigrateURLEncoderEncodeTest.java | 6 +- .../migrate/net/URLConstructorsToURITest.java | 6 +- .../nio/file/PathsGetToPathOfTest.java | 4 +- .../migrate/search/AboutJavaVersionTest.java | 6 +- .../migrate/search/FindDataUsedOnDtoTest.java | 6 +- .../search/FindDtoOverfetchingTest.java | 6 +- .../search/FindInternalJavaxApisTest.java | 4 +- .../migrate/search/FindJavaVersionTest.java | 6 +- .../MigrateDriverManagerSetLogStreamTest.java | 6 +- .../java/migrate/util/IteratorNextTest.java | 6 +- .../migrate/util/ListFirstAndLastTest.java | 6 +- .../MigrateCollectionsSingletonListTest.java | 6 +- .../MigrateCollectionsSingletonMapTest.java | 6 +- .../MigrateCollectionsSingletonSetTest.java | 6 +- ...igrateCollectionsUnmodifiableListTest.java | 6 +- ...MigrateCollectionsUnmodifiableSetTest.java | 6 +- .../util/OptionalNotEmptyToIsPresentTest.java | 6 +- .../util/OptionalNotPresentToIsEmptyTest.java | 6 +- .../util/OptionalStreamRecipeTest.java | 6 +- .../util/RemoveFinalizerFromZipTest.java | 7 +- ...RandomWithThreadLocalRandomRecipeTest.java | 4 +- .../ReplaceStreamCollectWithToListTest.java | 6 +- .../migrate/util/SequencedCollectionTest.java | 6 +- .../migrate/util/StreamFindFirstTest.java | 4 +- .../java/migrate/util/UseEnumSetOfTest.java | 6 +- .../java/migrate/util/UseLocaleOfTest.java | 6 +- .../java/migrate/util/UseMapOfTest.java | 6 +- .../UpgradeWro4jMavenPluginVersionTest.java | 6 +- 380 files changed, 1132 insertions(+), 1224 deletions(-) delete mode 100644 LICENSE create mode 100644 LICENSE.md diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 261eeb9e9f..0000000000 --- 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 0000000000..bbf66de1e2 --- /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 d8799191c2..698a442269 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ ### Migrate to later Java versions. Automatically. [![ci](https://github.com/openrewrite/rewrite-migrate-java/actions/workflows/ci.yml/badge.svg)](https://github.com/openrewrite/rewrite-migrate-java/actions/workflows/ci.yml) -[![Apache 2.0](https://img.shields.io/github/license/openrewrite/rewrite-migrate-java.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![Maven Central](https://img.shields.io/maven-central/v/org.openrewrite.recipe/rewrite-migrate-java.svg)](https://mvnrepository.com/artifact/org.openrewrite.recipe/rewrite-migrate-java) [![Revved up by Develocity](https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A)](https://ge.openrewrite.org/scans) diff --git a/gradle/licenseHeader.txt b/gradle/licenseHeader.txt index 3c7a45430a..43819ad42e 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/java/migrate/AddJDeprScanPlugin.java b/src/main/java/org/openrewrite/java/migrate/AddJDeprScanPlugin.java index 5233102f49..007fa7a0fa 100644 --- a/src/main/java/org/openrewrite/java/migrate/AddJDeprScanPlugin.java +++ b/src/main/java/org/openrewrite/java/migrate/AddJDeprScanPlugin.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/AddMissingMethodImplementation.java b/src/main/java/org/openrewrite/java/migrate/AddMissingMethodImplementation.java index 90dcee7bd0..74b0dfb9e5 100644 --- a/src/main/java/org/openrewrite/java/migrate/AddMissingMethodImplementation.java +++ b/src/main/java/org/openrewrite/java/migrate/AddMissingMethodImplementation.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/AddSuppressionForIllegalReflectionWarningsPlugin.java b/src/main/java/org/openrewrite/java/migrate/AddSuppressionForIllegalReflectionWarningsPlugin.java index 4911fbe0d9..6c50bc5945 100644 --- a/src/main/java/org/openrewrite/java/migrate/AddSuppressionForIllegalReflectionWarningsPlugin.java +++ b/src/main/java/org/openrewrite/java/migrate/AddSuppressionForIllegalReflectionWarningsPlugin.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentException.java b/src/main/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentException.java index a9048b3479..19024dbdfe 100644 --- a/src/main/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentException.java +++ b/src/main/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentException.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/BeanDiscovery.java b/src/main/java/org/openrewrite/java/migrate/BeanDiscovery.java index fa5fb0f275..b80f526eb5 100644 --- a/src/main/java/org/openrewrite/java/migrate/BeanDiscovery.java +++ b/src/main/java/org/openrewrite/java/migrate/BeanDiscovery.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/BeansXmlNamespace.java b/src/main/java/org/openrewrite/java/migrate/BeansXmlNamespace.java index ad2956be73..225ef05ad9 100644 --- a/src/main/java/org/openrewrite/java/migrate/BeansXmlNamespace.java +++ b/src/main/java/org/openrewrite/java/migrate/BeansXmlNamespace.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/CastArraysAsListToList.java b/src/main/java/org/openrewrite/java/migrate/CastArraysAsListToList.java index 408d56357f..dd6872bfeb 100644 --- a/src/main/java/org/openrewrite/java/migrate/CastArraysAsListToList.java +++ b/src/main/java/org/openrewrite/java/migrate/CastArraysAsListToList.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnType.java b/src/main/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnType.java index 92c38dd386..d1a42a989b 100644 --- a/src/main/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnType.java +++ b/src/main/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnType.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/DontOverfetchDto.java b/src/main/java/org/openrewrite/java/migrate/DontOverfetchDto.java index 24402d9144..9759f8ffd7 100644 --- a/src/main/java/org/openrewrite/java/migrate/DontOverfetchDto.java +++ b/src/main/java/org/openrewrite/java/migrate/DontOverfetchDto.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedException.java b/src/main/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedException.java index a430e37239..20ee46acc0 100644 --- a/src/main/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedException.java +++ b/src/main/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedException.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/JREThrowableFinalMethods.java b/src/main/java/org/openrewrite/java/migrate/JREThrowableFinalMethods.java index 892ab34b5a..c696ba232b 100644 --- a/src/main/java/org/openrewrite/java/migrate/JREThrowableFinalMethods.java +++ b/src/main/java/org/openrewrite/java/migrate/JREThrowableFinalMethods.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/JpaCacheProperties.java b/src/main/java/org/openrewrite/java/migrate/JpaCacheProperties.java index a4bb27b11a..673d3a3aaf 100644 --- a/src/main/java/org/openrewrite/java/migrate/JpaCacheProperties.java +++ b/src/main/java/org/openrewrite/java/migrate/JpaCacheProperties.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/MXBeanRule.java b/src/main/java/org/openrewrite/java/migrate/MXBeanRule.java index 865573f640..a7e840b79b 100644 --- a/src/main/java/org/openrewrite/java/migrate/MXBeanRule.java +++ b/src/main/java/org/openrewrite/java/migrate/MXBeanRule.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/ReferenceCloneMethod.java b/src/main/java/org/openrewrite/java/migrate/ReferenceCloneMethod.java index 64af51e5f4..b93c5b3c63 100644 --- a/src/main/java/org/openrewrite/java/migrate/ReferenceCloneMethod.java +++ b/src/main/java/org/openrewrite/java/migrate/ReferenceCloneMethod.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/RemoveIllegalSemicolons.java b/src/main/java/org/openrewrite/java/migrate/RemoveIllegalSemicolons.java index 48631d6892..631842ce28 100644 --- a/src/main/java/org/openrewrite/java/migrate/RemoveIllegalSemicolons.java +++ b/src/main/java/org/openrewrite/java/migrate/RemoveIllegalSemicolons.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/RemovedSecurityManagerMethods.java b/src/main/java/org/openrewrite/java/migrate/RemovedSecurityManagerMethods.java index 7e60a6006c..7753fa1859 100644 --- a/src/main/java/org/openrewrite/java/migrate/RemovedSecurityManagerMethods.java +++ b/src/main/java/org/openrewrite/java/migrate/RemovedSecurityManagerMethods.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethod.java b/src/main/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethod.java index c8722fc361..8e67d5785a 100644 --- a/src/main/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethod.java +++ b/src/main/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethod.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openrewrite.java.migrate; import com.fasterxml.jackson.annotation.JsonCreator; diff --git a/src/main/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethods.java b/src/main/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethods.java index 3158c6d775..dbfdd4b62d 100644 --- a/src/main/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethods.java +++ b/src/main/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethods.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethods.java b/src/main/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethods.java index 0ba027061a..b53693aed2 100644 --- a/src/main/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethods.java +++ b/src/main/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethods.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/ReplaceStringLiteralValue.java b/src/main/java/org/openrewrite/java/migrate/ReplaceStringLiteralValue.java index ba29260068..5addb03b5b 100644 --- a/src/main/java/org/openrewrite/java/migrate/ReplaceStringLiteralValue.java +++ b/src/main/java/org/openrewrite/java/migrate/ReplaceStringLiteralValue.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/UpgradeJavaVersion.java b/src/main/java/org/openrewrite/java/migrate/UpgradeJavaVersion.java index dc2f666182..4c23a70e68 100644 --- a/src/main/java/org/openrewrite/java/migrate/UpgradeJavaVersion.java +++ b/src/main/java/org/openrewrite/java/migrate/UpgradeJavaVersion.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/UseJavaUtilBase64.java b/src/main/java/org/openrewrite/java/migrate/UseJavaUtilBase64.java index 02dd81430e..3441f65b44 100644 --- a/src/main/java/org/openrewrite/java/migrate/UseJavaUtilBase64.java +++ b/src/main/java/org/openrewrite/java/migrate/UseJavaUtilBase64.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/UseTabsOrSpaces.java b/src/main/java/org/openrewrite/java/migrate/UseTabsOrSpaces.java index 9477571a35..e3ed60f9ca 100644 --- a/src/main/java/org/openrewrite/java/migrate/UseTabsOrSpaces.java +++ b/src/main/java/org/openrewrite/java/migrate/UseTabsOrSpaces.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/AbstractNoGuavaImmutableOf.java b/src/main/java/org/openrewrite/java/migrate/guava/AbstractNoGuavaImmutableOf.java index 1a6ef36b43..fc3b742a59 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/AbstractNoGuavaImmutableOf.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/AbstractNoGuavaImmutableOf.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReference.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReference.java index 72e9337ae8..dddf8ed353 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReference.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReference.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDir.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDir.java index cf1cb1605a..9c05d264dc 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDir.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDir.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutor.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutor.java index 7011f1dabf..339e6072a3 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutor.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutor.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOf.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOf.java index f83fb83717..a948eb20c0 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOf.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOf.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOf.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOf.java index 6418031867..1219783275 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOf.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOf.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOf.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOf.java index 37ccf18ab3..278b2f05fa 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOf.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOf.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayList.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayList.java index bea4e4e95f..6db925f5db 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayList.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayList.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayList.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayList.java index 170ff3c8b6..ec77f6b89c 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayList.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayList.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedList.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedList.java index b4450f745e..b5ccd29588 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedList.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedList.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMap.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMap.java index 32495d14a3..79653d80f9 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMap.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMap.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMap.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMap.java index 30a8022ae0..c91e00003e 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMap.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMap.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMap.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMap.java index ae4e5faa3d..dfe64ca290 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMap.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMap.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalFromJavaUtil.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalFromJavaUtil.java index e796165ebc..2dfe543c3e 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalFromJavaUtil.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalFromJavaUtil.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalToJavaUtil.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalToJavaUtil.java index 547975c779..8190b19bed 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalToJavaUtil.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaOptionalToJavaUtil.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsList.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsList.java index 0d818de5d3..4d83350a0d 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsList.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsList.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java index 562f63ad8f..a710a42d8c 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaRefaster.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSet.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSet.java index aa73452873..94990547e6 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSet.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSet.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSet.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSet.java index 6f230f5366..ebcd2502c0 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSet.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSet.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSet.java b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSet.java index 5d37a14255..2a4688ea6d 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSet.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSet.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoin.java b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoin.java index 6f56d3dcff..cf26c5e09e 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoin.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoin.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinVisitor.java b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinVisitor.java index 1a5ff7aa73..b50d9140a1 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinVisitor.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinVisitor.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrElseNull.java b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrElseNull.java index 53ec5eca14..10fd58772a 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrElseNull.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrElseNull.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrSupplier.java b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrSupplier.java index 7088bcbacb..a39a63ea9e 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrSupplier.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalOrSupplier.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/guava/package-info.java b/src/main/java/org/openrewrite/java/migrate/guava/package-info.java index e2f9b62a93..ff19cd95d4 100644 --- a/src/main/java/org/openrewrite/java/migrate/guava/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/guava/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithClose.java b/src/main/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithClose.java index 92a921d99a..84b6b2d654 100644 --- a/src/main/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithClose.java +++ b/src/main/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithClose.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. */ - package org.openrewrite.java.migrate.io; import lombok.EqualsAndHashCode; diff --git a/src/main/java/org/openrewrite/java/migrate/io/package-info.java b/src/main/java/org/openrewrite/java/migrate/io/package-info.java index e34b551d35..a55fd8c5f1 100644 --- a/src/main/java/org/openrewrite/java/migrate/io/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/io/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAccepted.java b/src/main/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAccepted.java index 295694cafe..b771cf363f 100644 --- a/src/main/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAccepted.java +++ b/src/main/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAccepted.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessages.java b/src/main/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessages.java index 7e169679c4..6fbe5975f4 100644 --- a/src/main/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessages.java +++ b/src/main/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessages.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullable.java b/src/main/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullable.java index 0521e4aaab..9376982d30 100644 --- a/src/main/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullable.java +++ b/src/main/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullable.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypes.java b/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypes.java index b70b4a0e7b..962553896a 100644 --- a/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypes.java +++ b/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypes.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethods.java b/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethods.java index fd7c9798a0..84bc3c58f7 100644 --- a/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethods.java +++ b/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethods.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPath.java b/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPath.java index 468ccb9527..8f985af77e 100644 --- a/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPath.java +++ b/src/main/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPath.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. */ - package org.openrewrite.java.migrate.jakarta; import org.openrewrite.ExecutionContext; diff --git a/src/main/java/org/openrewrite/java/migrate/jakarta/package-info.java b/src/main/java/org/openrewrite/java/migrate/jakarta/package-info.java index 80b9214c40..07e1316a0e 100644 --- a/src/main/java/org/openrewrite/java/migrate/jakarta/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/jakarta/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java b/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java index 8a01318f7a..ee0b329465 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddColumnAnnotation.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClass.java b/src/main/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClass.java index 577fc08a62..b00c04043a 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClass.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClass.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java b/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java index 1ef39fff2b..769dd9fe13 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddJaxbRuntime.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java b/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java index 92b29df1b9..17ae312a73 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddJaxwsRuntime.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClass.java b/src/main/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClass.java index b8ecf7ee93..b5310a4d9c 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClass.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClass.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddTableGenerator.java b/src/main/java/org/openrewrite/java/migrate/javax/AddTableGenerator.java index 146fd7b858..809276825a 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddTableGenerator.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddTableGenerator.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollections.java b/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollections.java index 32ebbd6ffb..e9cebbf313 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollections.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollections.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntity.java b/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntity.java index 9a905f30c9..7ee813b8f4 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntity.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntity.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessor.java b/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessor.java index c84c4610ae..1788a7133e 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessor.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessor.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/AnnotateTypesVisitor.java b/src/main/java/org/openrewrite/java/migrate/javax/AnnotateTypesVisitor.java index c9462df74f..fae08dcbfd 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/AnnotateTypesVisitor.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/AnnotateTypesVisitor.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/HttpSessionInvalidate.java b/src/main/java/org/openrewrite/java/migrate/javax/HttpSessionInvalidate.java index fd53d872aa..b3cd81d47a 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/HttpSessionInvalidate.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/HttpSessionInvalidate.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableId.java b/src/main/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableId.java index cb021391de..0de3cee89c 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableId.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableId.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotation.java b/src/main/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotation.java index 7b2522b7b3..16fef3e665 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotation.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotation.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMapping.java b/src/main/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMapping.java index b048028bce..39b3dbdf1c 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMapping.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMapping.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/javax/package-info.java b/src/main/java/org/openrewrite/java/migrate/javax/package-info.java index 877c2d3c97..c807567aeb 100644 --- a/src/main/java/org/openrewrite/java/migrate/javax/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/javax/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpec.java b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpec.java index 135a9c2b43..ffeb680545 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpec.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpec.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeRecipe.java b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeRecipe.java index c9634697fe..2e21cc00ff 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeRecipe.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeRecipe.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeScanner.java b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeScanner.java index 6436203510..8255f0edd0 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeScanner.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeScanner.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java index d396f3452c..32cc1e5bd5 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/JodaTimeVisitor.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/SafeCheckMarker.java b/src/main/java/org/openrewrite/java/migrate/joda/SafeCheckMarker.java index bc5ec02b8d..2073feb143 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/SafeCheckMarker.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/SafeCheckMarker.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/ScopeAwareVisitor.java b/src/main/java/org/openrewrite/java/migrate/joda/ScopeAwareVisitor.java index b9c7ca9d9a..0858928f09 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/ScopeAwareVisitor.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/ScopeAwareVisitor.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/package-info.java b/src/main/java/org/openrewrite/java/migrate/joda/package-info.java index 8cc4e18116..0741212ea8 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDateTimeTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDateTimeTemplates.java index 6a3b42090d..f561541776 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDateTimeTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDateTimeTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDurationTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDurationTemplates.java index 3de6261020..eb1422b678 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDurationTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractDurationTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractInstantTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractInstantTemplates.java index f9b64eb8de..77a29c3d71 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractInstantTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractInstantTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractIntervalTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractIntervalTemplates.java index 9028b507ca..9fe69cdf14 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractIntervalTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/AbstractIntervalTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/AllTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/AllTemplates.java index 5978823826..3d79830153 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/AllTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/AllTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDateTime.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDateTime.java index 56aeee4e52..1e1dc299b6 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDateTime.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDateTime.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDurationTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDurationTemplates.java index 6079799651..aa23fa6385 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDurationTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseDurationTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseIntervalTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseIntervalTemplates.java index e52eeaa3b0..afe6a70e35 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseIntervalTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/BaseIntervalTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatTemplates.java index d02e8fb3db..0389d50ed3 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatterTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatterTemplates.java index c758370f6b..711ec20166 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatterTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeFormatterTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeTemplates.java index 913cf66847..85ea7b451f 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/DateTimeTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/DurationTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/DurationTemplates.java index ec48f586b4..96de8caf30 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/DurationTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/DurationTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/InstantTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/InstantTemplates.java index 20164851e1..49e07b7688 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/InstantTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/InstantTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/IntervalTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/IntervalTemplates.java index 9ccb8edb01..fb139a5de4 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/IntervalTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/IntervalTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/MethodTemplate.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/MethodTemplate.java index 61e13d809c..77be5a63b6 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/MethodTemplate.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/MethodTemplate.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/Templates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/Templates.java index cfc9043d82..aa2cf39d0a 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/Templates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/Templates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassMap.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassMap.java index 7663a8389c..06437dea14 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassMap.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassMap.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassNames.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassNames.java index 673642f1b0..4cb88c0554 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassNames.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeClassNames.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeZoneTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeZoneTemplates.java index 9862658b2c..b5ba559e66 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeZoneTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/TimeZoneTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/VarTemplates.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/VarTemplates.java index fba1b2e8c0..0b5968beeb 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/VarTemplates.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/VarTemplates.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/joda/templates/package-info.java b/src/main/java/org/openrewrite/java/migrate/joda/templates/package-info.java index f2541036e8..c736551896 100644 --- a/src/main/java/org/openrewrite/java/migrate/joda/templates/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/joda/templates/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/LiteralOrVariable.java b/src/main/java/org/openrewrite/java/migrate/lang/LiteralOrVariable.java index 5886b8e581..86a6e772b3 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/LiteralOrVariable.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/LiteralOrVariable.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClass.java b/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClass.java index 7f327b1037..b08d1f3a77 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClass.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClass.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstance.java b/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstance.java index 4b91d2e887..3b867ec9a4 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstance.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstance.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticast.java b/src/main/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticast.java index 9ed8628394..c8690fdae4 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticast.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticast.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/StringFormatted.java b/src/main/java/org/openrewrite/java/migrate/lang/StringFormatted.java index 6da39fbd65..6243b6fd2a 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/StringFormatted.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/StringFormatted.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java b/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java index 331ae6994d..18cff02175 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/StringRules.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupported.java b/src/main/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupported.java index 28c6819b07..b3163f624a 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupported.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupported.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/UseStringIsEmpty.java b/src/main/java/org/openrewrite/java/migrate/lang/UseStringIsEmpty.java index 7356b78e18..a3f860812e 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/UseStringIsEmpty.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/UseStringIsEmpty.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/UseTextBlocks.java b/src/main/java/org/openrewrite/java/migrate/lang/UseTextBlocks.java index 9ef09362d7..9b17c3a34b 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/UseTextBlocks.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/UseTextBlocks.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/package-info.java b/src/main/java/org/openrewrite/java/migrate/lang/package-info.java index bf26d36964..065f7083e7 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/var/DeclarationCheck.java b/src/main/java/org/openrewrite/java/migrate/lang/var/DeclarationCheck.java index dc4b48b60c..74e835f51f 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/var/DeclarationCheck.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/var/DeclarationCheck.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocations.java b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocations.java index 4e9fe25b60..544d23fc15 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocations.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocations.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructors.java b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructors.java index 1018723142..2904375b83 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructors.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructors.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForObject.java b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForObject.java index 6504fefdd1..c4d6905fe7 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForObject.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForObject.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java index a164facf7b..ec62f8e514 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitive.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lang/var/package-info.java b/src/main/java/org/openrewrite/java/migrate/lang/var/package-info.java index f3de1be078..60557dbb03 100644 --- a/src/main/java/org/openrewrite/java/migrate/lang/var/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/lang/var/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBean.java b/src/main/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBean.java index 667e217899..ecac8a7e1c 100644 --- a/src/main/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBean.java +++ b/src/main/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBean.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstant.java b/src/main/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstant.java index aa3ff1bcf3..de52bc4538 100644 --- a/src/main/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstant.java +++ b/src/main/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstant.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobal.java b/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobal.java index bdd2a6d810..4d8b0975af 100644 --- a/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobal.java +++ b/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobal.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundle.java b/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundle.java index e0fe40c096..a148c6f52c 100644 --- a/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundle.java +++ b/src/main/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundle.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/logging/package-info.java b/src/main/java/org/openrewrite/java/migrate/logging/package-info.java index 5c6732e191..b8577755ca 100644 --- a/src/main/java/org/openrewrite/java/migrate/logging/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/logging/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java b/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java index 0f1aa25555..c1fa851617 100644 --- a/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java +++ b/src/main/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVar.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lombok/LombokValueToRecord.java b/src/main/java/org/openrewrite/java/migrate/lombok/LombokValueToRecord.java index e6d5cde053..0e10746df8 100644 --- a/src/main/java/org/openrewrite/java/migrate/lombok/LombokValueToRecord.java +++ b/src/main/java/org/openrewrite/java/migrate/lombok/LombokValueToRecord.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lombok/package-info.java b/src/main/java/org/openrewrite/java/migrate/lombok/package-info.java index 44ec952f77..a6fe57ebf1 100644 --- a/src/main/java/org/openrewrite/java/migrate/lombok/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/lombok/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersion.java b/src/main/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersion.java index e0c88098d7..04f154724b 100644 --- a/src/main/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersion.java +++ b/src/main/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersion.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfiguration.java b/src/main/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfiguration.java index 587680804c..d44bb2478b 100644 --- a/src/main/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfiguration.java +++ b/src/main/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfiguration.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/maven/package-info.java b/src/main/java/org/openrewrite/java/migrate/maven/package-info.java index c62729a8e7..0ea6e484b5 100644 --- a/src/main/java/org/openrewrite/java/migrate/maven/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/maven/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTags.java b/src/main/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTags.java index b83986c432..9e833436d1 100644 --- a/src/main/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTags.java +++ b/src/main/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTags.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/metrics/package-info.java b/src/main/java/org/openrewrite/java/migrate/metrics/package-info.java index 8d750a96b3..c8fae06dd2 100644 --- a/src/main/java/org/openrewrite/java/migrate/metrics/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/metrics/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalError.java b/src/main/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalError.java index 3549c8de06..543458b8bb 100644 --- a/src/main/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalError.java +++ b/src/main/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalError.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLive.java b/src/main/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLive.java index 49bd79b30f..1533552233 100644 --- a/src/main/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLive.java +++ b/src/main/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLive.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecode.java b/src/main/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecode.java index de1055acc1..4546eb83eb 100644 --- a/src/main/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecode.java +++ b/src/main/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecode.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncode.java b/src/main/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncode.java index 673bdf61e9..0bd59d6800 100644 --- a/src/main/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncode.java +++ b/src/main/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncode.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java b/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java index e2450833f0..54261f7fe8 100644 --- a/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java +++ b/src/main/java/org/openrewrite/java/migrate/net/URLConstructorsToURI.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/net/package-info.java b/src/main/java/org/openrewrite/java/migrate/net/package-info.java index f90e9e1cd2..614c192738 100644 --- a/src/main/java/org/openrewrite/java/migrate/net/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/net/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/package-info.java b/src/main/java/org/openrewrite/java/migrate/package-info.java index da66312438..d85a3f1258 100644 --- a/src/main/java/org/openrewrite/java/migrate/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/search/AboutJavaVersion.java b/src/main/java/org/openrewrite/java/migrate/search/AboutJavaVersion.java index 68138dbfdb..40816a682c 100644 --- a/src/main/java/org/openrewrite/java/migrate/search/AboutJavaVersion.java +++ b/src/main/java/org/openrewrite/java/migrate/search/AboutJavaVersion.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/search/FindDataUsedOnDto.java b/src/main/java/org/openrewrite/java/migrate/search/FindDataUsedOnDto.java index becf2d52ff..08f7407788 100644 --- a/src/main/java/org/openrewrite/java/migrate/search/FindDataUsedOnDto.java +++ b/src/main/java/org/openrewrite/java/migrate/search/FindDataUsedOnDto.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/search/FindDtoOverfetching.java b/src/main/java/org/openrewrite/java/migrate/search/FindDtoOverfetching.java index 793fe6e1da..7572b11040 100644 --- a/src/main/java/org/openrewrite/java/migrate/search/FindDtoOverfetching.java +++ b/src/main/java/org/openrewrite/java/migrate/search/FindDtoOverfetching.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/search/FindInternalJavaxApis.java b/src/main/java/org/openrewrite/java/migrate/search/FindInternalJavaxApis.java index aaa08d3682..8633b767cb 100644 --- a/src/main/java/org/openrewrite/java/migrate/search/FindInternalJavaxApis.java +++ b/src/main/java/org/openrewrite/java/migrate/search/FindInternalJavaxApis.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/search/FindJavaVersion.java b/src/main/java/org/openrewrite/java/migrate/search/FindJavaVersion.java index 6dfd29e9b2..2a3cc1431c 100644 --- a/src/main/java/org/openrewrite/java/migrate/search/FindJavaVersion.java +++ b/src/main/java/org/openrewrite/java/migrate/search/FindJavaVersion.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/search/PlanJavaMigration.java b/src/main/java/org/openrewrite/java/migrate/search/PlanJavaMigration.java index f499e04868..7a30a7d7c1 100644 --- a/src/main/java/org/openrewrite/java/migrate/search/PlanJavaMigration.java +++ b/src/main/java/org/openrewrite/java/migrate/search/PlanJavaMigration.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/search/package-info.java b/src/main/java/org/openrewrite/java/migrate/search/package-info.java index b85e10ea5e..78985020a2 100644 --- a/src/main/java/org/openrewrite/java/migrate/search/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/search/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStream.java b/src/main/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStream.java index fb426ba21a..da6ad753ea 100644 --- a/src/main/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStream.java +++ b/src/main/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStream.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/sql/package-info.java b/src/main/java/org/openrewrite/java/migrate/sql/package-info.java index 97aa56da82..8889379c58 100644 --- a/src/main/java/org/openrewrite/java/migrate/sql/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/sql/package-info.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/table/DtoDataUses.java b/src/main/java/org/openrewrite/java/migrate/table/DtoDataUses.java index 1b6e948260..91c34fbea3 100644 --- a/src/main/java/org/openrewrite/java/migrate/table/DtoDataUses.java +++ b/src/main/java/org/openrewrite/java/migrate/table/DtoDataUses.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionMigrationPlan.java b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionMigrationPlan.java index 474e52d9db..df9ca54647 100644 --- a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionMigrationPlan.java +++ b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionMigrationPlan.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerFile.java b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerFile.java index dcb4e97b8d..6c26c51d35 100644 --- a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerFile.java +++ b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerFile.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerSourceSet.java b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerSourceSet.java index 61f03f1305..46e9014d30 100644 --- a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerSourceSet.java +++ b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionPerSourceSet.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionRow.java b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionRow.java index 6351dfd445..36035d23b1 100644 --- a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionRow.java +++ b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionRow.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionTable.java b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionTable.java index f3ff64f92a..69865d1fc2 100644 --- a/src/main/java/org/openrewrite/java/migrate/table/JavaVersionTable.java +++ b/src/main/java/org/openrewrite/java/migrate/table/JavaVersionTable.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/IteratorNext.java b/src/main/java/org/openrewrite/java/migrate/util/IteratorNext.java index 65f2b62908..454a9dcd04 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/IteratorNext.java +++ b/src/main/java/org/openrewrite/java/migrate/util/IteratorNext.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/ListFirstAndLast.java b/src/main/java/org/openrewrite/java/migrate/util/ListFirstAndLast.java index 9deddf8c89..8ea89f9b82 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/ListFirstAndLast.java +++ b/src/main/java/org/openrewrite/java/migrate/util/ListFirstAndLast.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonList.java b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonList.java index f798fdf817..bd5728ca71 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonList.java +++ b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonList.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMap.java b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMap.java index 3d64c3abc9..b6cf206508 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMap.java +++ b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMap.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSet.java b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSet.java index 302354d221..01aef43a62 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSet.java +++ b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSet.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableList.java b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableList.java index 99ab7c7865..11f17761a7 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableList.java +++ b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableList.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSet.java b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSet.java index 0680298d55..f2f0b75d3f 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSet.java +++ b/src/main/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSet.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresent.java b/src/main/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresent.java index a9ff2e8d02..277787fa8b 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresent.java +++ b/src/main/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresent.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmpty.java b/src/main/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmpty.java index 3a9b6fdd60..cd7b45cbfd 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmpty.java +++ b/src/main/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmpty.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/OptionalStreamRecipe.java b/src/main/java/org/openrewrite/java/migrate/util/OptionalStreamRecipe.java index 9b7d01ebec..63b010a35c 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/OptionalStreamRecipe.java +++ b/src/main/java/org/openrewrite/java/migrate/util/OptionalStreamRecipe.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZip.java b/src/main/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZip.java index e156c90e2d..7f41cff0f3 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZip.java +++ b/src/main/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZip.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. */ - package org.openrewrite.java.migrate.util; import lombok.EqualsAndHashCode; diff --git a/src/main/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandom.java b/src/main/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandom.java index b11d4bbb1b..d9808ae0ef 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandom.java +++ b/src/main/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandom.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openrewrite.java.migrate.util; import com.google.errorprone.refaster.annotation.AfterTemplate; diff --git a/src/main/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToList.java b/src/main/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToList.java index f1f116c8c9..9de31fd09c 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToList.java +++ b/src/main/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToList.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/StreamFindFirst.java b/src/main/java/org/openrewrite/java/migrate/util/StreamFindFirst.java index dcecf7ad57..263d9f6ef2 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/StreamFindFirst.java +++ b/src/main/java/org/openrewrite/java/migrate/util/StreamFindFirst.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/UseEnumSetOf.java b/src/main/java/org/openrewrite/java/migrate/util/UseEnumSetOf.java index d67df418cb..34c37584f2 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/UseEnumSetOf.java +++ b/src/main/java/org/openrewrite/java/migrate/util/UseEnumSetOf.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/UseLocaleOf.java b/src/main/java/org/openrewrite/java/migrate/util/UseLocaleOf.java index 588063d1d0..73e60ead56 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/UseLocaleOf.java +++ b/src/main/java/org/openrewrite/java/migrate/util/UseLocaleOf.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/UseMapOf.java b/src/main/java/org/openrewrite/java/migrate/util/UseMapOf.java index 43fe6d2080..2a9ec99266 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/UseMapOf.java +++ b/src/main/java/org/openrewrite/java/migrate/util/UseMapOf.java @@ -1,11 +1,11 @@ /* - * Copyright 2022 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/util/package-info.java b/src/main/java/org/openrewrite/java/migrate/util/package-info.java index 471bbecb42..934df451bf 100644 --- a/src/main/java/org/openrewrite/java/migrate/util/package-info.java +++ b/src/main/java/org/openrewrite/java/migrate/util/package-info.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/resources/META-INF/rewrite/add-common-annotations-dependencies.yml b/src/main/resources/META-INF/rewrite/add-common-annotations-dependencies.yml index 0f5d12eb54..340515248a 100644 --- a/src/main/resources/META-INF/rewrite/add-common-annotations-dependencies.yml +++ b/src/main/resources/META-INF/rewrite/add-common-annotations-dependencies.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.javax.AddCommonAnnotationsDependencies diff --git a/src/main/resources/META-INF/rewrite/add-inject-dependencies.yml b/src/main/resources/META-INF/rewrite/add-inject-dependencies.yml index 932818fd18..365771783c 100644 --- a/src/main/resources/META-INF/rewrite/add-inject-dependencies.yml +++ b/src/main/resources/META-INF/rewrite/add-inject-dependencies.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.java.migrate.javax.AddInjectDependencies diff --git a/src/main/resources/META-INF/rewrite/category.yml b/src/main/resources/META-INF/rewrite/category.yml index f8cd94bfd4..5fedf55efc 100644 --- a/src/main/resources/META-INF/rewrite/category.yml +++ b/src/main/resources/META-INF/rewrite/category.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/category name: Modernize diff --git a/src/main/resources/META-INF/rewrite/ibm-java.yml b/src/main/resources/META-INF/rewrite/ibm-java.yml index 890376580e..83b8f5aba8 100644 --- a/src/main/resources/META-INF/rewrite/ibm-java.yml +++ b/src/main/resources/META-INF/rewrite/ibm-java.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.IBMSemeru diff --git a/src/main/resources/META-INF/rewrite/jacoco.yml b/src/main/resources/META-INF/rewrite/jacoco.yml index 6fd953db1c..34a9b3ea4d 100644 --- a/src/main/resources/META-INF/rewrite/jacoco.yml +++ b/src/main/resources/META-INF/rewrite/jacoco.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/category name: 'JaCoCo' diff --git a/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml b/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml index 6ade3e3ca8..11907cc6b3 100644 --- a/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml +++ b/src/main/resources/META-INF/rewrite/jakarta-ee-10.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.jakarta.JakartaEE10 diff --git a/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml b/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml index d3259f26df..af337163fa 100644 --- a/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml +++ b/src/main/resources/META-INF/rewrite/jakarta-ee-9.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta diff --git a/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml b/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml index 75d32a1d76..64be5ae06a 100644 --- a/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml +++ b/src/main/resources/META-INF/rewrite/jakarta-faces-4.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.jakarta.Faces2xMigrationToJakarta4x diff --git a/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml b/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml index cd883237ad..a1ae31c7ec 100644 --- a/src/main/resources/META-INF/rewrite/java-concurrent-apis.yml +++ b/src/main/resources/META-INF/rewrite/java-concurrent-apis.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.java.migrate.concurrent.JavaConcurrentAPIs diff --git a/src/main/resources/META-INF/rewrite/java-ee-6.yml b/src/main/resources/META-INF/rewrite/java-ee-6.yml index 962f9c3d26..c71b7c0e0c 100644 --- a/src/main/resources/META-INF/rewrite/java-ee-6.yml +++ b/src/main/resources/META-INF/rewrite/java-ee-6.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.javaee6 diff --git a/src/main/resources/META-INF/rewrite/java-ee-7.yml b/src/main/resources/META-INF/rewrite/java-ee-7.yml index 6cd6458b1d..6d2700781f 100644 --- a/src/main/resources/META-INF/rewrite/java-ee-7.yml +++ b/src/main/resources/META-INF/rewrite/java-ee-7.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.javaee7 diff --git a/src/main/resources/META-INF/rewrite/java-ee-8.yml b/src/main/resources/META-INF/rewrite/java-ee-8.yml index f3705b9e3f..98d19339af 100644 --- a/src/main/resources/META-INF/rewrite/java-ee-8.yml +++ b/src/main/resources/META-INF/rewrite/java-ee-8.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.javaee8 diff --git a/src/main/resources/META-INF/rewrite/java-lang-apis.yml b/src/main/resources/META-INF/rewrite/java-lang-apis.yml index ac026ac23d..db5a9c0540 100644 --- a/src/main/resources/META-INF/rewrite/java-lang-apis.yml +++ b/src/main/resources/META-INF/rewrite/java-lang-apis.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.java.migrate.lang.JavaLangAPIs diff --git a/src/main/resources/META-INF/rewrite/java-lang-var.yml b/src/main/resources/META-INF/rewrite/java-lang-var.yml index 5a103e07c3..885b54ece8 100644 --- a/src/main/resources/META-INF/rewrite/java-lang-var.yml +++ b/src/main/resources/META-INF/rewrite/java-lang-var.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.lang.UseVar diff --git a/src/main/resources/META-INF/rewrite/java-logging-apis.yml b/src/main/resources/META-INF/rewrite/java-logging-apis.yml index 11212a74dd..7cdb5208eb 100644 --- a/src/main/resources/META-INF/rewrite/java-logging-apis.yml +++ b/src/main/resources/META-INF/rewrite/java-logging-apis.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.java.migrate.logging.JavaLoggingAPIs diff --git a/src/main/resources/META-INF/rewrite/java-net-apis.yml b/src/main/resources/META-INF/rewrite/java-net-apis.yml index a0554a303c..5299a60822 100644 --- a/src/main/resources/META-INF/rewrite/java-net-apis.yml +++ b/src/main/resources/META-INF/rewrite/java-net-apis.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.java.migrate.net.JavaNetAPIs diff --git a/src/main/resources/META-INF/rewrite/java-sql-apis.yml b/src/main/resources/META-INF/rewrite/java-sql-apis.yml index 91b0ff087e..01cc5a08ca 100644 --- a/src/main/resources/META-INF/rewrite/java-sql-apis.yml +++ b/src/main/resources/META-INF/rewrite/java-sql-apis.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.java.migrate.sql.JavaSqlAPIs diff --git a/src/main/resources/META-INF/rewrite/java-util-apis.yml b/src/main/resources/META-INF/rewrite/java-util-apis.yml index 2fce66f24d..1ed75cf920 100644 --- a/src/main/resources/META-INF/rewrite/java-util-apis.yml +++ b/src/main/resources/META-INF/rewrite/java-util-apis.yml @@ -1,11 +1,11 @@ # -# Copyright 2022 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.util.JavaUtilAPIs diff --git a/src/main/resources/META-INF/rewrite/java-version-11.yml b/src/main/resources/META-INF/rewrite/java-version-11.yml index 999637af8c..5ad5aa2657 100644 --- a/src/main/resources/META-INF/rewrite/java-version-11.yml +++ b/src/main/resources/META-INF/rewrite/java-version-11.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.Java8toJava11 diff --git a/src/main/resources/META-INF/rewrite/java-version-17.yml b/src/main/resources/META-INF/rewrite/java-version-17.yml index 0299c8f1e7..798059e8ca 100644 --- a/src/main/resources/META-INF/rewrite/java-version-17.yml +++ b/src/main/resources/META-INF/rewrite/java-version-17.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.UpgradeToJava17 diff --git a/src/main/resources/META-INF/rewrite/java-version-21.yml b/src/main/resources/META-INF/rewrite/java-version-21.yml index 859c12d63b..f8907448c4 100644 --- a/src/main/resources/META-INF/rewrite/java-version-21.yml +++ b/src/main/resources/META-INF/rewrite/java-version-21.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.UpgradeToJava21 diff --git a/src/main/resources/META-INF/rewrite/java-version-6.yml b/src/main/resources/META-INF/rewrite/java-version-6.yml index d9b5bed267..3463848d64 100644 --- a/src/main/resources/META-INF/rewrite/java-version-6.yml +++ b/src/main/resources/META-INF/rewrite/java-version-6.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.UpgradeToJava6 diff --git a/src/main/resources/META-INF/rewrite/java-version-7.yml b/src/main/resources/META-INF/rewrite/java-version-7.yml index c2100bb25b..2edceffe7d 100644 --- a/src/main/resources/META-INF/rewrite/java-version-7.yml +++ b/src/main/resources/META-INF/rewrite/java-version-7.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.UpgradeToJava7 diff --git a/src/main/resources/META-INF/rewrite/java-version-8.yml b/src/main/resources/META-INF/rewrite/java-version-8.yml index c0e95c5cda..8ad3934eac 100644 --- a/src/main/resources/META-INF/rewrite/java-version-8.yml +++ b/src/main/resources/META-INF/rewrite/java-version-8.yml @@ -1,11 +1,11 @@ # -# Copyright 2023 the original author or authors. +# Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.UpgradeToJava8 diff --git a/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml b/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml index bf57dfb430..14d8b39cb6 100644 --- a/src/main/resources/META-INF/rewrite/javax-lang-model-util.yml +++ b/src/main/resources/META-INF/rewrite/javax-lang-model-util.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.java.migrate.javax.JavaxLangModelUtil diff --git a/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.yml b/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.yml index c312b3556b..d077980286 100644 --- a/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.yml +++ b/src/main/resources/META-INF/rewrite/javax-management-monitor-apis.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.java.migrate.javax.JavaxManagementMonitorAPIs diff --git a/src/main/resources/META-INF/rewrite/javax-xml-stream.yml b/src/main/resources/META-INF/rewrite/javax-xml-stream.yml index 711e9068b6..7702c4ce6f 100644 --- a/src/main/resources/META-INF/rewrite/javax-xml-stream.yml +++ b/src/main/resources/META-INF/rewrite/javax-xml-stream.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.java.migrate.javax.JavaxXmlStreamAPIs diff --git a/src/main/resources/META-INF/rewrite/jspecify.yml b/src/main/resources/META-INF/rewrite/jspecify.yml index 9b7ccf8ab0..6be239a9c0 100644 --- a/src/main/resources/META-INF/rewrite/jspecify.yml +++ b/src/main/resources/META-INF/rewrite/jspecify.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/resources/META-INF/rewrite/lombok.yml b/src/main/resources/META-INF/rewrite/lombok.yml index b1ab7208ef..554b8c427b 100644 --- a/src/main/resources/META-INF/rewrite/lombok.yml +++ b/src/main/resources/META-INF/rewrite/lombok.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.java.migrate.lombok.UpdateLombokToJava11 diff --git a/src/main/resources/META-INF/rewrite/no-guava.yml b/src/main/resources/META-INF/rewrite/no-guava.yml index 9db88a136f..82f7f90a39 100644 --- a/src/main/resources/META-INF/rewrite/no-guava.yml +++ b/src/main/resources/META-INF/rewrite/no-guava.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.java.migrate.guava.NoGuava diff --git a/src/main/resources/META-INF/rewrite/no-joda-time.yml b/src/main/resources/META-INF/rewrite/no-joda-time.yml index d7b2231049..1828004ed4 100644 --- a/src/main/resources/META-INF/rewrite/no-joda-time.yml +++ b/src/main/resources/META-INF/rewrite/no-joda-time.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.java.migrate.joda.NoJodaTime diff --git a/src/main/resources/META-INF/rewrite/openjpa-to-eclipselink.yml b/src/main/resources/META-INF/rewrite/openjpa-to-eclipselink.yml index 6744b8fd25..64760cc339 100644 --- a/src/main/resources/META-INF/rewrite/openjpa-to-eclipselink.yml +++ b/src/main/resources/META-INF/rewrite/openjpa-to-eclipselink.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # + --- type: specs.openrewrite.org/v1beta/recipe name: org.openrewrite.java.migrate.javax.openJPAToEclipseLink diff --git a/src/main/resources/META-INF/rewrite/remove-cobertura-maven-plugin.yml b/src/main/resources/META-INF/rewrite/remove-cobertura-maven-plugin.yml index a68ff4c91b..ac26ccc7c1 100644 --- a/src/main/resources/META-INF/rewrite/remove-cobertura-maven-plugin.yml +++ b/src/main/resources/META-INF/rewrite/remove-cobertura-maven-plugin.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.java.migrate.cobertura.RemoveCoberturaMavenPlugin diff --git a/src/main/resources/META-INF/rewrite/scala.yml b/src/main/resources/META-INF/rewrite/scala.yml index 8b203b872b..b142f78d7b 100644 --- a/src/main/resources/META-INF/rewrite/scala.yml +++ b/src/main/resources/META-INF/rewrite/scala.yml @@ -1,11 +1,11 @@ # # Copyright 2024 the original author or authors. #

-# Licensed under the Apache License, Version 2.0 (the "License"); +# Licensed under the Moderne Source Available License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at #

-# https://www.apache.org/licenses/LICENSE-2.0 +# https://docs.moderne.io/licensing/moderne-source-available-license #

# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/AddMissingMethodImplementationTest.java b/src/test/java/org/openrewrite/java/migrate/AddMissingMethodImplementationTest.java index 1e0d1e25d1..d0ad8c02d0 100644 --- a/src/test/java/org/openrewrite/java/migrate/AddMissingMethodImplementationTest.java +++ b/src/test/java/org/openrewrite/java/migrate/AddMissingMethodImplementationTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentExceptionTest.java b/src/test/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentExceptionTest.java index 4843e89816..59b8b9fc29 100644 --- a/src/test/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentExceptionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/ArrayStoreExceptionToTypeNotPresentExceptionTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/BeanDiscoveryTest.java b/src/test/java/org/openrewrite/java/migrate/BeanDiscoveryTest.java index cb6b4d2942..308c20d95c 100644 --- a/src/test/java/org/openrewrite/java/migrate/BeanDiscoveryTest.java +++ b/src/test/java/org/openrewrite/java/migrate/BeanDiscoveryTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/BeansXmlNamespaceTest.java b/src/test/java/org/openrewrite/java/migrate/BeansXmlNamespaceTest.java index db35cbbc25..c438191295 100644 --- a/src/test/java/org/openrewrite/java/migrate/BeansXmlNamespaceTest.java +++ b/src/test/java/org/openrewrite/java/migrate/BeansXmlNamespaceTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/CastArraysAsListToListTest.java b/src/test/java/org/openrewrite/java/migrate/CastArraysAsListToListTest.java index 82be7ab2b1..1300b92623 100644 --- a/src/test/java/org/openrewrite/java/migrate/CastArraysAsListToListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/CastArraysAsListToListTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnTypeTest.java b/src/test/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnTypeTest.java index f2c3a0e5b0..0305834c9a 100644 --- a/src/test/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnTypeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/ChangeMethodInvocationReturnTypeTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/DeleteDeprecatedFinalizeTest.java b/src/test/java/org/openrewrite/java/migrate/DeleteDeprecatedFinalizeTest.java index 44952260a1..905bf1932e 100644 --- a/src/test/java/org/openrewrite/java/migrate/DeleteDeprecatedFinalizeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/DeleteDeprecatedFinalizeTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/DeprecatedCountStackFramesMethodTest.java b/src/test/java/org/openrewrite/java/migrate/DeprecatedCountStackFramesMethodTest.java index 6edd776714..04a77c9eae 100644 --- a/src/test/java/org/openrewrite/java/migrate/DeprecatedCountStackFramesMethodTest.java +++ b/src/test/java/org/openrewrite/java/migrate/DeprecatedCountStackFramesMethodTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/DontOverfetchDtoTest.java b/src/test/java/org/openrewrite/java/migrate/DontOverfetchDtoTest.java index 9c54f80486..0055f96799 100644 --- a/src/test/java/org/openrewrite/java/migrate/DontOverfetchDtoTest.java +++ b/src/test/java/org/openrewrite/java/migrate/DontOverfetchDtoTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/IBMJDKtoOracleJDKTest.java b/src/test/java/org/openrewrite/java/migrate/IBMJDKtoOracleJDKTest.java index 6cf6ceae1d..41b0ad83eb 100644 --- a/src/test/java/org/openrewrite/java/migrate/IBMJDKtoOracleJDKTest.java +++ b/src/test/java/org/openrewrite/java/migrate/IBMJDKtoOracleJDKTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/IBMSemeruTest.java b/src/test/java/org/openrewrite/java/migrate/IBMSemeruTest.java index 42b69ccc5e..d4603b232d 100644 --- a/src/test/java/org/openrewrite/java/migrate/IBMSemeruTest.java +++ b/src/test/java/org/openrewrite/java/migrate/IBMSemeruTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedExceptionTest.java b/src/test/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedExceptionTest.java index 1fd0d0214d..e790867e14 100644 --- a/src/test/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedExceptionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/IllegalArgumentExceptionToAlreadyConnectedExceptionTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/InternalBindPackagesTest.java b/src/test/java/org/openrewrite/java/migrate/InternalBindPackagesTest.java index fc4b152bb7..ca1cafc47f 100644 --- a/src/test/java/org/openrewrite/java/migrate/InternalBindPackagesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/InternalBindPackagesTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/JREThrowableFinalMethodsTest.java b/src/test/java/org/openrewrite/java/migrate/JREThrowableFinalMethodsTest.java index da33a02f81..3ea69d2f07 100644 --- a/src/test/java/org/openrewrite/java/migrate/JREThrowableFinalMethodsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/JREThrowableFinalMethodsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/JpaCachePropertiesTest.java b/src/test/java/org/openrewrite/java/migrate/JpaCachePropertiesTest.java index 0590f8c465..aaad51ba75 100644 --- a/src/test/java/org/openrewrite/java/migrate/JpaCachePropertiesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/JpaCachePropertiesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/MXBeanRuleTest.java b/src/test/java/org/openrewrite/java/migrate/MXBeanRuleTest.java index 18f40f25ef..adaef66edc 100644 --- a/src/test/java/org/openrewrite/java/migrate/MXBeanRuleTest.java +++ b/src/test/java/org/openrewrite/java/migrate/MXBeanRuleTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/ReferenceCloneMethodTest.java b/src/test/java/org/openrewrite/java/migrate/ReferenceCloneMethodTest.java index 0514c013f3..973a51673d 100644 --- a/src/test/java/org/openrewrite/java/migrate/ReferenceCloneMethodTest.java +++ b/src/test/java/org/openrewrite/java/migrate/ReferenceCloneMethodTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/RemoveIllegalSemicolonsTest.java b/src/test/java/org/openrewrite/java/migrate/RemoveIllegalSemicolonsTest.java index 954f4e26e0..76f3ecb7ce 100644 --- a/src/test/java/org/openrewrite/java/migrate/RemoveIllegalSemicolonsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/RemoveIllegalSemicolonsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/RemovedModifierAndConstantBootstrapsConstructorsTest.java b/src/test/java/org/openrewrite/java/migrate/RemovedModifierAndConstantBootstrapsConstructorsTest.java index d9e80b0e52..a8ab7a36cb 100644 --- a/src/test/java/org/openrewrite/java/migrate/RemovedModifierAndConstantBootstrapsConstructorsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/RemovedModifierAndConstantBootstrapsConstructorsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/RemovedToolProviderConstructorTest.java b/src/test/java/org/openrewrite/java/migrate/RemovedToolProviderConstructorTest.java index 28558a072c..89a0633cab 100644 --- a/src/test/java/org/openrewrite/java/migrate/RemovedToolProviderConstructorTest.java +++ b/src/test/java/org/openrewrite/java/migrate/RemovedToolProviderConstructorTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethodTest.java b/src/test/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethodTest.java index a861795077..ca67da2f58 100644 --- a/src/test/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethodTest.java +++ b/src/test/java/org/openrewrite/java/migrate/ReplaceAWTGetPeerMethodTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethodsTest.java b/src/test/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethodsTest.java index d20b9bc8e5..537ea379ed 100644 --- a/src/test/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethodsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/ReplaceComSunAWTUtilitiesMethodsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethodsTest.java b/src/test/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethodsTest.java index f27f0a408c..0f6c3bd3c1 100644 --- a/src/test/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethodsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/ReplaceLocalizedStreamMethodsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/SunNetSslPackageUnavailableTest.java b/src/test/java/org/openrewrite/java/migrate/SunNetSslPackageUnavailableTest.java index 830d46e99b..f86d21538a 100644 --- a/src/test/java/org/openrewrite/java/migrate/SunNetSslPackageUnavailableTest.java +++ b/src/test/java/org/openrewrite/java/migrate/SunNetSslPackageUnavailableTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/ThreadStopDestroyTest.java b/src/test/java/org/openrewrite/java/migrate/ThreadStopDestroyTest.java index 3cd12f8dfb..e6cc2f12f0 100644 --- a/src/test/java/org/openrewrite/java/migrate/ThreadStopDestroyTest.java +++ b/src/test/java/org/openrewrite/java/migrate/ThreadStopDestroyTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/UpgradeJavaVersionTest.java b/src/test/java/org/openrewrite/java/migrate/UpgradeJavaVersionTest.java index 6f8cf2dc73..3da3ad3aed 100644 --- a/src/test/java/org/openrewrite/java/migrate/UpgradeJavaVersionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/UpgradeJavaVersionTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/UpgradeToJava17Test.java b/src/test/java/org/openrewrite/java/migrate/UpgradeToJava17Test.java index d02a32e51b..4a844324a1 100644 --- a/src/test/java/org/openrewrite/java/migrate/UpgradeToJava17Test.java +++ b/src/test/java/org/openrewrite/java/migrate/UpgradeToJava17Test.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/UpgradeToJava6Test.java b/src/test/java/org/openrewrite/java/migrate/UpgradeToJava6Test.java index 790127bae7..f5885a539a 100644 --- a/src/test/java/org/openrewrite/java/migrate/UpgradeToJava6Test.java +++ b/src/test/java/org/openrewrite/java/migrate/UpgradeToJava6Test.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/UpgradeToJava7Test.java b/src/test/java/org/openrewrite/java/migrate/UpgradeToJava7Test.java index 07903498e1..3100806099 100644 --- a/src/test/java/org/openrewrite/java/migrate/UpgradeToJava7Test.java +++ b/src/test/java/org/openrewrite/java/migrate/UpgradeToJava7Test.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/UseJavaUtilBase64Test.java b/src/test/java/org/openrewrite/java/migrate/UseJavaUtilBase64Test.java index be78c34e24..d51c70eb3f 100644 --- a/src/test/java/org/openrewrite/java/migrate/UseJavaUtilBase64Test.java +++ b/src/test/java/org/openrewrite/java/migrate/UseJavaUtilBase64Test.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/UseTabsOrSpacesTest.java b/src/test/java/org/openrewrite/java/migrate/UseTabsOrSpacesTest.java index 204d447d25..92a02ab2fc 100644 --- a/src/test/java/org/openrewrite/java/migrate/UseTabsOrSpacesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/UseTabsOrSpacesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/concurrent/JavaConcurrentAPIsTest.java b/src/test/java/org/openrewrite/java/migrate/concurrent/JavaConcurrentAPIsTest.java index 435b80f88c..b512e5748c 100644 --- a/src/test/java/org/openrewrite/java/migrate/concurrent/JavaConcurrentAPIsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/concurrent/JavaConcurrentAPIsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReferenceTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReferenceTest.java index 054644d1cb..b1519b7b89 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReferenceTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaAtomicsNewReferenceTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDirTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDirTest.java index 7c9b42663d..db05f862f0 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDirTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaCreateTempDirTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutorTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutorTest.java index 12969e3424..dba84aacbe 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutorTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaDirectExecutorTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOfTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOfTest.java index 79420d7293..e7a9d2d807 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOfTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableListOfTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOfTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOfTest.java index 8f5989e4bd..98cf52676f 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOfTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableMapOfTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOfTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOfTest.java index 6804d8873e..58e1d1568e 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOfTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaImmutableSetOfTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaJava21Test.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaJava21Test.java index a2a7359b71..f59f1a57d2 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaJava21Test.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaJava21Test.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayListTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayListTest.java index b5721e61c9..5fb3925115 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewArrayListTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayListTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayListTest.java index 43ee7da979..adb1230cbb 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewCopyOnWriteArrayListTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedListTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedListTest.java index 85a57b20d9..05d7e82167 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaListsNewLinkedListTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMapTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMapTest.java index cec7df6477..a270acc8db 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMapTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewHashMapTest.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openrewrite.java.migrate.guava; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMapTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMapTest.java index d94d05980e..3fc265a45f 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMapTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewLinkedHashMapTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMapTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMapTest.java index 131ad8730f..8b02e138c0 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMapTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaMapsNewTreeMapTest.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, @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.openrewrite.java.migrate.guava; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsListTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsListTest.java index cd75edf8cb..f465b9f73c 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaPrimitiveAsListTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSetTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSetTest.java index b2202ddd31..f3b263f966 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSetTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewConcurrentHashSetTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSetTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSetTest.java index 87ed0e8f60..9235f1d540 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSetTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewHashSetTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSetTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSetTest.java index 58406aa707..39cbffff62 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSetTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaSetsNewLinkedHashSetTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaTest.java b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaTest.java index 990f640e9d..5701794a86 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/NoGuavaTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinTest.java b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinTest.java index 3c6fe1dfd6..e00838a752 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaStringJoinTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilObjectsTest.java b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilObjectsTest.java index 9684e11e83..f3df9d5b38 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilObjectsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilObjectsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalTest.java b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalTest.java index 5b89c22a71..9e0b56c5bd 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilOptionalTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilPredicateTest.java b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilPredicateTest.java index 5728d44199..8e84847a2d 100644 --- a/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilPredicateTest.java +++ b/src/test/java/org/openrewrite/java/migrate/guava/PreferJavaUtilPredicateTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithCloseTest.java b/src/test/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithCloseTest.java index 74e00aafbd..192e6c45c2 100644 --- a/src/test/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithCloseTest.java +++ b/src/test/java/org/openrewrite/java/migrate/io/ReplaceFileInOrOutputStreamFinalizeWithCloseTest.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. */ - package org.openrewrite.java.migrate.io; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/openrewrite/java/migrate/jacoco/UpgradeJaCoCoTest.java b/src/test/java/org/openrewrite/java/migrate/jacoco/UpgradeJaCoCoTest.java index 4a21220ab1..3486b0986e 100644 --- a/src/test/java/org/openrewrite/java/migrate/jacoco/UpgradeJaCoCoTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jacoco/UpgradeJaCoCoTest.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/java/migrate/jakarta/ApplicationPathWildcardNoLongerAcceptedTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAcceptedTest.java index 8eddf69cec..f05c6aec3d 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAcceptedTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/ApplicationPathWildcardNoLongerAcceptedTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessagesTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessagesTest.java index e4cf58654f..0153a0f8c1 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessagesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/BeanValidationMessagesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/EhcacheJavaxtoJakartaTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/EhcacheJavaxtoJakartaTest.java index 3adca67c3f..476eada57d 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/EhcacheJavaxtoJakartaTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/EhcacheJavaxtoJakartaTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/FacesJNDINamesChangedTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/FacesJNDINamesChangedTest.java index fa150446e3..b2c1667d07 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/FacesJNDINamesChangedTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/FacesJNDINamesChangedTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/FacesManagedBeansRemovedTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/FacesManagedBeansRemovedTest.java index ffed8c4ca7..640c387b72 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/FacesManagedBeansRemovedTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/FacesManagedBeansRemovedTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JacksonJavaxtoJakartaTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JacksonJavaxtoJakartaTest.java index 868a9e0d8e..c818ed55ab 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JacksonJavaxtoJakartaTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JacksonJavaxtoJakartaTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JakartaFacesXhtmlTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JakartaFacesXhtmlTest.java index 7d23283da2..2f1dfb7c94 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JakartaFacesXhtmlTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JakartaFacesXhtmlTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeanValidationXmlToJakartaBeanValidationTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeanValidationXmlToJakartaBeanValidationTest.java index a7363cf819..5dd5b57656 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeanValidationXmlToJakartaBeanValidationTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeanValidationXmlToJakartaBeanValidationTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeansXmlToJakartaBeansXmlTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeansXmlToJakartaBeansXmlTest.java index 2a89eb1de4..5c2876b66a 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeansXmlToJakartaBeansXmlTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxBeansXmlToJakartaBeansXmlTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxEjbJarXmlToJakartaEjbJarXmlTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxEjbJarXmlToJakartaEjbJarXmlTest.java index dea71c816b..ee10c92996 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxEjbJarXmlToJakartaEjbJarXmlTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxEjbJarXmlToJakartaEjbJarXmlTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesConfigXmlToJakartaFacesConfigXmlTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesConfigXmlToJakartaFacesConfigXmlTest.java index e6082a47eb..f881524bd9 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesConfigXmlToJakartaFacesConfigXmlTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesConfigXmlToJakartaFacesConfigXmlTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesTagLibraryXmlToJakartaFacesTagLibraryXmlTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesTagLibraryXmlToJakartaFacesTagLibraryXmlTest.java index bae412d982..9612ca9a67 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesTagLibraryXmlToJakartaFacesTagLibraryXmlTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxFacesTagLibraryXmlToJakartaFacesTagLibraryXmlTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxInjectToJakartaInjectTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxInjectToJakartaInjectTest.java index 34bbda5d53..581a9aa660 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxInjectToJakartaInjectTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxInjectToJakartaInjectTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxToJakartaTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxToJakartaTest.java index 00016719b7..45c481dcb3 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxToJakartaTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxToJakartaTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxTransactionMigrationToJakartaTransactionTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxTransactionMigrationToJakartaTransactionTest.java index 8e41727eef..3844f86389 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxTransactionMigrationToJakartaTransactionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxTransactionMigrationToJakartaTransactionTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebFragmentXmlToJakartaWebFragmentXmlTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebFragmentXmlToJakartaWebFragmentXmlTest.java index 2516d00d7b..71d00ec389 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebFragmentXmlToJakartaWebFragmentXmlTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebFragmentXmlToJakartaWebFragmentXmlTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebXmlToJakartaWebXmlTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebXmlToJakartaWebXmlTest.java index e17735dc0d..7b056a7379 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebXmlToJakartaWebXmlTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JavaxWebXmlToJakartaWebXmlTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/JohnzonJavaxtoJakartaTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/JohnzonJavaxtoJakartaTest.java index 9c95acebc6..af5522e2c2 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/JohnzonJavaxtoJakartaTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/JohnzonJavaxtoJakartaTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovalsServletJakarta10Test.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovalsServletJakarta10Test.java index a7b484df8b..e3de98dcb5 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovalsServletJakarta10Test.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovalsServletJakarta10Test.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullableTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullableTest.java index ed7b15d88d..537d1393ea 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullableTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemoveBeanIsNullableTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedIsParmetersProvidedMethodTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedIsParmetersProvidedMethodTest.java index 0572a28d7a..7584674219 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedIsParmetersProvidedMethodTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedIsParmetersProvidedMethodTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesExpressionLanguageClassesTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesExpressionLanguageClassesTest.java index 3a01a604be..46985896c6 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesExpressionLanguageClassesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesExpressionLanguageClassesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesResourceResolverTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesResourceResolverTest.java index 417a8fceab..cd67745491 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesResourceResolverTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedJakartaFacesResourceResolverTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedSOAPElementFactoryTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedSOAPElementFactoryTest.java index 6f7d503888..784d3fb0c4 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedSOAPElementFactoryTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedSOAPElementFactoryTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedStateManagerMethodsTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedStateManagerMethodsTest.java index fd13bbdb14..392cec728f 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedStateManagerMethodsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedStateManagerMethodsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedUIComponentConstantTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedUIComponentConstantTest.java index d3d776fe36..65589290c9 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedUIComponentConstantTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/RemovedUIComponentConstantTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/ServletCookieBehaviorChangeRFC6265Test.java b/src/test/java/org/openrewrite/java/migrate/jakarta/ServletCookieBehaviorChangeRFC6265Test.java index ca7759b79b..6832b47e71 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/ServletCookieBehaviorChangeRFC6265Test.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/ServletCookieBehaviorChangeRFC6265Test.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypesTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypesTest.java index 63445450df..909ff393c0 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateAddAnnotatedTypesTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateApacheWSSecurityPackagesTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateApacheWSSecurityPackagesTest.java index 688021dd74..10f61d2133 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateApacheWSSecurityPackagesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateApacheWSSecurityPackagesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethodsTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethodsTest.java index fadd15bcda..6277e0bf0c 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethodsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateBeanManagerMethodsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPathTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPathTest.java index b890d3dfbe..1e20d3b3ba 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPathTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/UpdateGetRealPathTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/UpgradeFacesOpenSourceLibrariesTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/UpgradeFacesOpenSourceLibrariesTest.java index 2d90458026..3f926a03e7 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/UpgradeFacesOpenSourceLibrariesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/UpgradeFacesOpenSourceLibrariesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jakarta/WsWsocServerContainerDeprecationTest.java b/src/test/java/org/openrewrite/java/migrate/jakarta/WsWsocServerContainerDeprecationTest.java index f0336a71f6..597c2fa0ad 100644 --- a/src/test/java/org/openrewrite/java/migrate/jakarta/WsWsocServerContainerDeprecationTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jakarta/WsWsocServerContainerDeprecationTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javaee/AddTableGeneratorTest.java b/src/test/java/org/openrewrite/java/migrate/javaee/AddTableGeneratorTest.java index 0be48c4cb6..91008c1b4d 100644 --- a/src/test/java/org/openrewrite/java/migrate/javaee/AddTableGeneratorTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javaee/AddTableGeneratorTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javaee/ApacheDefaultProviderTest.java b/src/test/java/org/openrewrite/java/migrate/javaee/ApacheDefaultProviderTest.java index 59597c12d9..4c3ef862ae 100644 --- a/src/test/java/org/openrewrite/java/migrate/javaee/ApacheDefaultProviderTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javaee/ApacheDefaultProviderTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javaee/HttpSessionInvalidateTest.java b/src/test/java/org/openrewrite/java/migrate/javaee/HttpSessionInvalidateTest.java index 7618573ce3..199ede219e 100644 --- a/src/test/java/org/openrewrite/java/migrate/javaee/HttpSessionInvalidateTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javaee/HttpSessionInvalidateTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javaee/OpenJPAPersistenceProviderTest.java b/src/test/java/org/openrewrite/java/migrate/javaee/OpenJPAPersistenceProviderTest.java index 9eeb5bfa00..81edcbb2f8 100644 --- a/src/test/java/org/openrewrite/java/migrate/javaee/OpenJPAPersistenceProviderTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javaee/OpenJPAPersistenceProviderTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javaee/ServletIsRequestedSessionIdFromURLTest.java b/src/test/java/org/openrewrite/java/migrate/javaee/ServletIsRequestedSessionIdFromURLTest.java index faf46ac88f..ff6e44c424 100644 --- a/src/test/java/org/openrewrite/java/migrate/javaee/ServletIsRequestedSessionIdFromURLTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javaee/ServletIsRequestedSessionIdFromURLTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddColumnAnnotationTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddColumnAnnotationTest.java index 668896319e..c2b47d37c9 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddColumnAnnotationTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddColumnAnnotationTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddCommonAnnotationsDependenciesTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddCommonAnnotationsDependenciesTest.java index 070f1fac44..f322847baf 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddCommonAnnotationsDependenciesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddCommonAnnotationsDependenciesTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClassTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClassTest.java index 238e984d56..27427f5e19 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClassTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddDefaultConstructorToEntityClassTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddJaxbDependenciesTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddJaxbDependenciesTest.java index 1b5628ea47..f9f903a755 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddJaxbDependenciesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddJaxbDependenciesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddJaxwsDependenciesTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddJaxwsDependenciesTest.java index 8e67902617..d66961f9ab 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddJaxwsDependenciesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddJaxwsDependenciesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClassTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClassTest.java index a4caecc5f0..7ecc76d3d3 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClassTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddScopeToInjectedClassTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollectionsTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollectionsTest.java index c1613e9719..6c6050e7ec 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollectionsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToCollectionsTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntityTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntityTest.java index 2efd9b9fa4..b6b43b0c73 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntityTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToEntityTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessorTest.java b/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessorTest.java index d7caac22cb..c38484b807 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessorTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/AddTransientAnnotationToPrivateAccessorTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/JavaxLangModelUtilTest.java b/src/test/java/org/openrewrite/java/migrate/javax/JavaxLangModelUtilTest.java index 8b4e537bbb..16fbdb83ef 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/JavaxLangModelUtilTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/JavaxLangModelUtilTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/JavaxManagementMonitorAPIsTest.java b/src/test/java/org/openrewrite/java/migrate/javax/JavaxManagementMonitorAPIsTest.java index 39d5a57745..a6ae333ec0 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/JavaxManagementMonitorAPIsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/JavaxManagementMonitorAPIsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/JavaxXmlStreamAPIsTest.java b/src/test/java/org/openrewrite/java/migrate/javax/JavaxXmlStreamAPIsTest.java index 49b98a3f0b..d4c809c028 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/JavaxXmlStreamAPIsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/JavaxXmlStreamAPIsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableIdTest.java b/src/test/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableIdTest.java index a2c5f81b3b..9185ecd5fa 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableIdTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/RemoveEmbeddableIdTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotationTest.java b/src/test/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotationTest.java index bfb98f000f..64406499f7 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotationTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/RemoveTemporalAnnotationTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMappingTest.java b/src/test/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMappingTest.java index ef1396ecf2..e9ed941cfc 100644 --- a/src/test/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMappingTest.java +++ b/src/test/java/org/openrewrite/java/migrate/javax/UseJoinColumnForMappingTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpecTest.java b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpecTest.java index 924b165f66..c40c59b06f 100644 --- a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpecTest.java +++ b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeFlowSpecTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeRecipeTest.java b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeRecipeTest.java index 96873be82d..9a30c3c025 100644 --- a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeRecipeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeRecipeTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeScannerTest.java b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeScannerTest.java index b5acde58ab..c402db8539 100644 --- a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeScannerTest.java +++ b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeScannerTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeVisitorTest.java b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeVisitorTest.java index 21b79169b6..aa3590340d 100644 --- a/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeVisitorTest.java +++ b/src/test/java/org/openrewrite/java/migrate/joda/JodaTimeVisitorTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/joda/NoJodaTimeTest.java b/src/test/java/org/openrewrite/java/migrate/joda/NoJodaTimeTest.java index f153a00777..adfdd5123f 100644 --- a/src/test/java/org/openrewrite/java/migrate/joda/NoJodaTimeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/joda/NoJodaTimeTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/jspecify/MigrateToJspecifyTest.java b/src/test/java/org/openrewrite/java/migrate/jspecify/MigrateToJspecifyTest.java index be2a78d9ca..738e164834 100644 --- a/src/test/java/org/openrewrite/java/migrate/jspecify/MigrateToJspecifyTest.java +++ b/src/test/java/org/openrewrite/java/migrate/jspecify/MigrateToJspecifyTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/JavaLangAPIsTest.java b/src/test/java/org/openrewrite/java/migrate/lang/JavaLangAPIsTest.java index 1aaaa54082..9bffda6c7c 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/JavaLangAPIsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/JavaLangAPIsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClassTest.java b/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClassTest.java index fbbde37a78..7b559dd748 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClassTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassLoaderDefineClassTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstanceTest.java b/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstanceTest.java index 23ec39c6d6..96530753b5 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstanceTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/MigrateClassNewInstanceToGetDeclaredConstructorNewInstanceTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticastTest.java b/src/test/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticastTest.java index 67c13ba5e9..196775e95b 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticastTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/MigrateSecurityManagerMulticastTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/StringFormattedTest.java b/src/test/java/org/openrewrite/java/migrate/lang/StringFormattedTest.java index 4647775316..358788630d 100755 --- a/src/test/java/org/openrewrite/java/migrate/lang/StringFormattedTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/StringFormattedTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/StringRulesTest.java b/src/test/java/org/openrewrite/java/migrate/lang/StringRulesTest.java index 6e943c694b..b943c3f3b2 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/StringRulesTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/StringRulesTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupportedTest.java b/src/test/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupportedTest.java index 0dcbd41919..a355e0f0b3 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupportedTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/ThreadStopUnsupportedTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/UseStringIsEmptyTest.java b/src/test/java/org/openrewrite/java/migrate/lang/UseStringIsEmptyTest.java index 76a384c938..3b5fb76fe0 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/UseStringIsEmptyTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/UseStringIsEmptyTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/UseTextBlocksTest.java b/src/test/java/org/openrewrite/java/migrate/lang/UseTextBlocksTest.java index d88fceb644..20840fcdc5 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/UseTextBlocksTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/UseTextBlocksTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/UseVarKeywordTest.java b/src/test/java/org/openrewrite/java/migrate/lang/UseVarKeywordTest.java index 16cdd5a4b0..ba931952ab 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/UseVarKeywordTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/UseVarKeywordTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocationsTest.java b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocationsTest.java index 17ea72b5ca..2467d3f4ca 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocationsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericMethodInvocationsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructorsTest.java b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructorsTest.java index ba1a5d09a0..12516041aa 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructorsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForGenericsConstructorsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForObjectsTest.java b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForObjectsTest.java index 504861d18d..f3911445da 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForObjectsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForObjectsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitiveTest.java b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitiveTest.java index 0a109d1ae1..fd99a6ec99 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitiveTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/var/UseVarForPrimitiveTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lang/var/VarBaseTest.java b/src/test/java/org/openrewrite/java/migrate/lang/var/VarBaseTest.java index 23474abb19..f5dd71107a 100644 --- a/src/test/java/org/openrewrite/java/migrate/lang/var/VarBaseTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lang/var/VarBaseTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/logging/JavaLoggingAPIsTest.java b/src/test/java/org/openrewrite/java/migrate/logging/JavaLoggingAPIsTest.java index 7be20bcdbf..b5c9c5c48f 100644 --- a/src/test/java/org/openrewrite/java/migrate/logging/JavaLoggingAPIsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/logging/JavaLoggingAPIsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBeanTest.java b/src/test/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBeanTest.java index 89d7d5d31c..bb92b90b38 100644 --- a/src/test/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBeanTest.java +++ b/src/test/java/org/openrewrite/java/migrate/logging/MigrateGetLoggingMXBeanToGetPlatformMXBeanTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstantTest.java b/src/test/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstantTest.java index 5517aff7e2..ef6af7d925 100644 --- a/src/test/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstantTest.java +++ b/src/test/java/org/openrewrite/java/migrate/logging/MigrateLogRecordSetMillisToSetInstantTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobalTest.java b/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobalTest.java index cbc8175a3d..b8899d4258 100644 --- a/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobalTest.java +++ b/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerGlobalToGetGlobalTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundleTest.java b/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundleTest.java index 6801b3d848..1d01c2dba4 100644 --- a/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundleTest.java +++ b/src/test/java/org/openrewrite/java/migrate/logging/MigrateLoggerLogrbToUseResourceBundleTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVarTest.java b/src/test/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVarTest.java index 800c68957f..f0bbf2c298 100755 --- a/src/test/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVarTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lombok/LombokValToFinalVarTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lombok/LombokValueToRecordTest.java b/src/test/java/org/openrewrite/java/migrate/lombok/LombokValueToRecordTest.java index 5f082d49aa..7fadd6db02 100644 --- a/src/test/java/org/openrewrite/java/migrate/lombok/LombokValueToRecordTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lombok/LombokValueToRecordTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lombok/UpdateLombokToJava11Test.java b/src/test/java/org/openrewrite/java/migrate/lombok/UpdateLombokToJava11Test.java index a3c45d8abf..a6b29e6b3f 100644 --- a/src/test/java/org/openrewrite/java/migrate/lombok/UpdateLombokToJava11Test.java +++ b/src/test/java/org/openrewrite/java/migrate/lombok/UpdateLombokToJava11Test.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersionTest.java b/src/test/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersionTest.java index 5a85e2b782..20bd375037 100644 --- a/src/test/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/maven/UpdateMavenProjectPropertyJavaVersionTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfigurationTest.java b/src/test/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfigurationTest.java index 659c7f4c74..2c3bf39938 100644 --- a/src/test/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfigurationTest.java +++ b/src/test/java/org/openrewrite/java/migrate/maven/UseMavenCompilerPluginReleaseConfigurationTest.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/java/migrate/metrics/SimplifyMicrometerMeterTagsTest.java b/src/test/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTagsTest.java index f12e7bb14a..f61df1ec80 100644 --- a/src/test/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTagsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/metrics/SimplifyMicrometerMeterTagsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/net/JavaNetAPIsTest.java b/src/test/java/org/openrewrite/java/migrate/net/JavaNetAPIsTest.java index 28997f5984..368810a2ee 100644 --- a/src/test/java/org/openrewrite/java/migrate/net/JavaNetAPIsTest.java +++ b/src/test/java/org/openrewrite/java/migrate/net/JavaNetAPIsTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalErrorTest.java b/src/test/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalErrorTest.java index 3122019698..9256902bb0 100644 --- a/src/test/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalErrorTest.java +++ b/src/test/java/org/openrewrite/java/migrate/net/MigrateHttpURLConnectionHttpServerErrorToHttpInternalErrorTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLiveTest.java b/src/test/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLiveTest.java index acd1dc278c..e3c299f586 100644 --- a/src/test/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLiveTest.java +++ b/src/test/java/org/openrewrite/java/migrate/net/MigrateMulticastSocketSetTTLToSetTimeToLiveTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecodeTest.java b/src/test/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecodeTest.java index 580467bd4e..9d419f92c7 100644 --- a/src/test/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecodeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/net/MigrateURLDecoderDecodeTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncodeTest.java b/src/test/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncodeTest.java index 44f9887a5a..8ad9766ab5 100644 --- a/src/test/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncodeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/net/MigrateURLEncoderEncodeTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/net/URLConstructorsToURITest.java b/src/test/java/org/openrewrite/java/migrate/net/URLConstructorsToURITest.java index c0df9779ea..3f0e276143 100644 --- a/src/test/java/org/openrewrite/java/migrate/net/URLConstructorsToURITest.java +++ b/src/test/java/org/openrewrite/java/migrate/net/URLConstructorsToURITest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/nio/file/PathsGetToPathOfTest.java b/src/test/java/org/openrewrite/java/migrate/nio/file/PathsGetToPathOfTest.java index 744a869ef9..b9dd77bfac 100644 --- a/src/test/java/org/openrewrite/java/migrate/nio/file/PathsGetToPathOfTest.java +++ b/src/test/java/org/openrewrite/java/migrate/nio/file/PathsGetToPathOfTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/search/AboutJavaVersionTest.java b/src/test/java/org/openrewrite/java/migrate/search/AboutJavaVersionTest.java index cf65dc6883..5e8f177f0e 100644 --- a/src/test/java/org/openrewrite/java/migrate/search/AboutJavaVersionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/search/AboutJavaVersionTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/search/FindDataUsedOnDtoTest.java b/src/test/java/org/openrewrite/java/migrate/search/FindDataUsedOnDtoTest.java index 2e34c9b373..39d792618b 100644 --- a/src/test/java/org/openrewrite/java/migrate/search/FindDataUsedOnDtoTest.java +++ b/src/test/java/org/openrewrite/java/migrate/search/FindDataUsedOnDtoTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/search/FindDtoOverfetchingTest.java b/src/test/java/org/openrewrite/java/migrate/search/FindDtoOverfetchingTest.java index 1cfe37782d..2bb54f79a0 100644 --- a/src/test/java/org/openrewrite/java/migrate/search/FindDtoOverfetchingTest.java +++ b/src/test/java/org/openrewrite/java/migrate/search/FindDtoOverfetchingTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/search/FindInternalJavaxApisTest.java b/src/test/java/org/openrewrite/java/migrate/search/FindInternalJavaxApisTest.java index ddc7a3cccc..90d2546c90 100644 --- a/src/test/java/org/openrewrite/java/migrate/search/FindInternalJavaxApisTest.java +++ b/src/test/java/org/openrewrite/java/migrate/search/FindInternalJavaxApisTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/search/FindJavaVersionTest.java b/src/test/java/org/openrewrite/java/migrate/search/FindJavaVersionTest.java index e81250c83f..80c8c2814c 100644 --- a/src/test/java/org/openrewrite/java/migrate/search/FindJavaVersionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/search/FindJavaVersionTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStreamTest.java b/src/test/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStreamTest.java index d5bf267699..acf99c7f28 100644 --- a/src/test/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStreamTest.java +++ b/src/test/java/org/openrewrite/java/migrate/sql/MigrateDriverManagerSetLogStreamTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2021 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java b/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java index e14ba1e452..50e53c16de 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/IteratorNextTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java b/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java index f30d131f67..4637c82c2d 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/ListFirstAndLastTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonListTest.java b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonListTest.java index 4f53cba247..224a68da75 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonListTest.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/java/migrate/util/MigrateCollectionsSingletonMapTest.java b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMapTest.java index 2b77863460..5c74a7ea8c 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMapTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonMapTest.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/java/migrate/util/MigrateCollectionsSingletonSetTest.java b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSetTest.java index fbea38a90b..4d8e4ae161 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSetTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsSingletonSetTest.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/java/migrate/util/MigrateCollectionsUnmodifiableListTest.java b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableListTest.java index f8bac531ee..e51e52213f 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableListTest.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/java/migrate/util/MigrateCollectionsUnmodifiableSetTest.java b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSetTest.java index 5710a9880e..cab8fb0897 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSetTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/MigrateCollectionsUnmodifiableSetTest.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/java/migrate/util/OptionalNotEmptyToIsPresentTest.java b/src/test/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresentTest.java index e10f100193..2dfb74b3cf 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresentTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/OptionalNotEmptyToIsPresentTest.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/java/migrate/util/OptionalNotPresentToIsEmptyTest.java b/src/test/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmptyTest.java index c94d413afc..d06d442442 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmptyTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/OptionalNotPresentToIsEmptyTest.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/java/migrate/util/OptionalStreamRecipeTest.java b/src/test/java/org/openrewrite/java/migrate/util/OptionalStreamRecipeTest.java index 58e5f6304e..e14db53274 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/OptionalStreamRecipeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/OptionalStreamRecipeTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZipTest.java b/src/test/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZipTest.java index 68d6bdedf8..e0797aff30 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZipTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/RemoveFinalizerFromZipTest.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. */ - package org.openrewrite.java.migrate.util; import org.junit.jupiter.api.Test; diff --git a/src/test/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandomRecipeTest.java b/src/test/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandomRecipeTest.java index 16c831b3f2..11eff1906b 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandomRecipeTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/ReplaceMathRandomWithThreadLocalRandomRecipeTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToListTest.java b/src/test/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToListTest.java index 92e2a5aac2..1c61a88025 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToListTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/ReplaceStreamCollectWithToListTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/SequencedCollectionTest.java b/src/test/java/org/openrewrite/java/migrate/util/SequencedCollectionTest.java index 98672d2a71..878466d1ca 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/SequencedCollectionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/SequencedCollectionTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java b/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java index 566fe2626d..9960b8078b 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/StreamFindFirstTest.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/UseEnumSetOfTest.java b/src/test/java/org/openrewrite/java/migrate/util/UseEnumSetOfTest.java index b37b217ebd..4f416f8823 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/UseEnumSetOfTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/UseEnumSetOfTest.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/java/migrate/util/UseLocaleOfTest.java b/src/test/java/org/openrewrite/java/migrate/util/UseLocaleOfTest.java index efb1ef65f0..1eca026155 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/UseLocaleOfTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/UseLocaleOfTest.java @@ -1,11 +1,11 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/util/UseMapOfTest.java b/src/test/java/org/openrewrite/java/migrate/util/UseMapOfTest.java index f31329b7b0..3e5ae99715 100644 --- a/src/test/java/org/openrewrite/java/migrate/util/UseMapOfTest.java +++ b/src/test/java/org/openrewrite/java/migrate/util/UseMapOfTest.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/java/migrate/wro4j/UpgradeWro4jMavenPluginVersionTest.java b/src/test/java/org/openrewrite/java/migrate/wro4j/UpgradeWro4jMavenPluginVersionTest.java index 1560bcaf50..be9b1e16a9 100644 --- a/src/test/java/org/openrewrite/java/migrate/wro4j/UpgradeWro4jMavenPluginVersionTest.java +++ b/src/test/java/org/openrewrite/java/migrate/wro4j/UpgradeWro4jMavenPluginVersionTest.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, From ac8be8466274d20f1c8a7b5a40b2fd251770819b Mon Sep 17 00:00:00 2001 From: Jonathan Schneider Date: Sat, 14 Dec 2024 18:58:09 -0500 Subject: [PATCH 2/2] Apply MSAL license --- .../java/org/openrewrite/java/migrate/lombok/LombokUtils.java | 4 ++-- .../org/openrewrite/java/migrate/lombok/UseLombokGetter.java | 4 ++-- .../openrewrite/java/migrate/lombok/UseLombokGetterTest.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java b/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java index 20c1ae0818..629303be90 100644 --- a/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java +++ b/src/main/java/org/openrewrite/java/migrate/lombok/LombokUtils.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokGetter.java b/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokGetter.java index b8de2d23f4..e7c99bbdff 100644 --- a/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokGetter.java +++ b/src/main/java/org/openrewrite/java/migrate/lombok/UseLombokGetter.java @@ -1,11 +1,11 @@ /* * Copyright 2024 the original author or authors. *

- * Licensed under the Apache License, Version 2.0 (the "License"); + * Licensed under the Moderne Source Available License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *

- * https://www.apache.org/licenses/LICENSE-2.0 + * https://docs.moderne.io/licensing/moderne-source-available-license *

* Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/src/test/java/org/openrewrite/java/migrate/lombok/UseLombokGetterTest.java b/src/test/java/org/openrewrite/java/migrate/lombok/UseLombokGetterTest.java index ec62019a51..15d082ab02 100644 --- a/src/test/java/org/openrewrite/java/migrate/lombok/UseLombokGetterTest.java +++ b/src/test/java/org/openrewrite/java/migrate/lombok/UseLombokGetterTest.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,